Installed tabnine

This commit is contained in:
Kristofers Solo
2023-06-14 17:40:26 +03:00
parent b6665c490e
commit 3bbf37a81b
51 changed files with 866 additions and 524 deletions

13
lua/plugins/cmp.lua Normal file
View File

@@ -0,0 +1,13 @@
return {
{
"hrsh7th/nvim-cmp",
-- event = "InsertEnter",
dependencies = {
"hrsh7th/cmp-buffer", -- buffer completions
"hrsh7th/cmp-path", -- path completionsplu
"hrsh7th/cmp-nvim-lua",
"hrsh7th/cmp-nvim-lsp",
},
}, -- The completion pluginpluguse "nvim-lua/plenary.nvim"
"saadparwaiz1/cmp_luasnip", -- snippet completions
}

View File

@@ -0,0 +1,51 @@
return {
{ "lunarvim/darkplus.nvim" },
{
"catppuccin/nvim",
lazy = false,
priority = 1000,
config = function()
require("catppuccin").setup({
flavour = "frappe",
transparent_background = true,
term_colors = true,
})
-- vim.cmd.colorscheme("catppuccin")
end,
},
{
"Mofiqul/dracula.nvim",
lazy = false,
priority = 1000,
config = function()
require("dracula").setup({
transparent_bg = true,
italic_comment = true,
})
-- vim.cmd.colorscheme("dracula")
end,
},
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
config = function()
require("tokyonight").setup({
style = "night",
transparent = true,
styles = {
keywords = { italic = false },
sidebars = "transparent",
floats = "transparent",
},
lualine_bold = true,
})
vim.cmd.colorscheme("tokyonight")
end,
},
{ "rebelot/kanagawa.nvim" },
{ "EdenEast/nightfox.nvim" },
{ "navarasu/onedark.nvim" },
{ "savq/melange-nvim" },
{ "bluz71/vim-nightfly-colors", name = "nightfly" },
}

6
lua/plugins/dap.lua Normal file
View File

@@ -0,0 +1,6 @@
return {
{ "mfussenegger/nvim-dap", lazy = true },
{ "rcarriga/nvim-dap-ui", lazy = true },
{ "jayp0521/mason-nvim-dap.nvim", lazy = true },
{ "ravenxrz/DAPInstall.nvim", lazy = true },
}

56
lua/plugins/general.lua Normal file
View File

@@ -0,0 +1,56 @@
return {
{ "folke/lazy.nvim" },
{ "nvim-lua/plenary.nvim" }, -- Useful lua functions used by lots of plugins
{ "windwp/nvim-autopairs" }, -- Autopairs, integrates with both cmp and treesitter
{ "numToStr/Comment.nvim" },
{ "JoosepAlviste/nvim-ts-context-commentstring" },
{ "nvim-tree/nvim-web-devicons", lazy = true },
{ "nvim-tree/nvim-tree.lua" },
{ "moll/vim-bbye" },
{ "nvim-lualine/lualine.nvim" },
{ "akinsho/toggleterm.nvim" },
{ "ahmedkhalf/project.nvim" },
{ "lewis6991/impatient.nvim" },
{ "lukas-reineke/indent-blankline.nvim" },
{ "goolord/alpha-nvim", lazy = true },
{ "andweeb/presence.nvim" },
{ "NvChad/nvim-colorizer.lua" },
{ "alvan/vim-closetag" },
{ "tpope/vim-surround" },
{ "mbbill/undotree", lazy = true },
{ "preservim/tagbar" },
{ "jghauser/mkdir.nvim", lazy = true },
{ "mtdl9/vim-log-highlighting", lazy = true },
{ "edluffy/hologram.nvim", lazy = true },
{ "folke/which-key.nvim", lazy = true },
{ "folke/todo-comments.nvim", lazy = false },
{
"folke/persistence.nvim",
event = "BufReadPre", -- this will only start session saving when an actual file was opened
module = "persistence",
},
{ "folke/zen-mode.nvim" },
{ "christoomey/vim-tmux-navigator" },
{ "ThePrimeagen/harpoon" },
{ "ThePrimeagen/vim-be-good", lazy = true },
-- Vimwiki
{ "vimwiki/vimwiki" },
{ "stevearc/oil.nvim" },
-- C++
{ "p00f/clangd_extensions.nvim", lazy = true },
{ "Civitasv/cmake-tools.nvim", lazy = true },
-- Rust
{ "Saecki/crates.nvim", lazy = true },
{ "simrat39/rust-tools.nvim", lazy = true },
-- Git
{ "lewis6991/gitsigns.nvim" },
{ "codota/tabnine-nvim", build = "./dl_binaries.sh" },
}

8
lua/plugins/lsp.lua Normal file
View File

@@ -0,0 +1,8 @@
return {
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
"neovim/nvim-lspconfig", -- enable LSP
"jose-elias-alvarez/null-ls.nvim", -- for formatters and linters
"jayp0521/mason-null-ls.nvim",
"RRethy/vim-illuminate",
}

9
lua/plugins/snip.lua Normal file
View File

@@ -0,0 +1,9 @@
return {
{
"L3MON4D3/LuaSnip",
run = "make install_jsregexp",
dependencies = {
"rafamadriz/friendly-snippets", -- a bunch of snippets to use
},
}, --snippet engine
}

View File

@@ -0,0 +1,9 @@
return {
"nvim-telescope/telescope.nvim",
"nvim-telescope/telescope-media-files.nvim",
"xiyaowong/telescope-emoji.nvim",
"nvim-telescope/telescope-frecency.nvim",
"nvim-telescope/telescope-ui-select.nvim",
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
"nat-418/telescope-color-names.nvim",
}

View File

@@ -0,0 +1,11 @@
return {
{
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
dependencies = {
"nvim-treesitter/playground",
"p00f/nvim-ts-rainbow",
"mechatroner/rainbow_csv",
},
},
}