diff options
author | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-09-03 11:02:19 +0400 |
---|---|---|
committer | Revaz Nakhutsrishvili <r@revaz.xyz> | 2024-09-03 11:02:19 +0400 |
commit | 72bac3930e8442faaea834724c2ef80440c505ed (patch) | |
tree | 0910c73f912cc9f747921f408decbd73a97fecb9 /.config/nvim/lua/module/plugins.lua | |
parent | aa8c3484100b2b7e84a7aa8c7e416dde484b25ee (diff) |
add neovim config
Diffstat (limited to '.config/nvim/lua/module/plugins.lua')
-rw-r--r-- | .config/nvim/lua/module/plugins.lua | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/.config/nvim/lua/module/plugins.lua b/.config/nvim/lua/module/plugins.lua new file mode 100644 index 0000000..2033151 --- /dev/null +++ b/.config/nvim/lua/module/plugins.lua @@ -0,0 +1,51 @@ +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not (vim.uv or vim.loop).fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +plugins = { + { + "owickstrom/vim-colors-paramount", + config = function() + vim.cmd.colorscheme "paramount" + end, + }, + { + "nvim-telescope/telescope.nvim", tag = "0.1.6", + dependencies = { "nvim-lua/plenary.nvim" }, + }, + { "nvim-telescope/telescope-fzf-native.nvim", build = "make" }, + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + dependencies = { + "nvim-treesitter/nvim-treesitter-textobjects", + "nvim-treesitter/nvim-treesitter-refactor", + "nvim-treesitter/playground", + }, + }, + "williamboman/mason.nvim", + "williamboman/mason-lspconfig.nvim", + "VonHeikemen/lsp-zero.nvim", + "neovim/nvim-lspconfig", + { + "hrsh7th/nvim-cmp", + dependencies = { + "hrsh7th/cmp-buffer", + "hrsh7th/cmp-path", + "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-cmdline", + }, + }, +} +opts = {} + +require"lazy".setup(plugins, opts) |