diff options
| author | crupest <crupest@outlook.com> | 2023-09-07 00:28:36 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2023-09-08 00:03:36 +0800 | 
| commit | 01dda430bfd51ebff4b678625005df00916996bb (patch) | |
| tree | 0bc87903cb4465cf7010d2f014077014022a3a85 /configs/nvim/lua | |
| parent | 0b69699c6bdb8fa2ee48bc2cc713253ff5e31b44 (diff) | |
| download | crupest-01dda430bfd51ebff4b678625005df00916996bb.tar.gz crupest-01dda430bfd51ebff4b678625005df00916996bb.tar.bz2 crupest-01dda430bfd51ebff4b678625005df00916996bb.zip  | |
Update nvim config. Add package manager.
Diffstat (limited to 'configs/nvim/lua')
| -rw-r--r-- | configs/nvim/lua/plugins.lua | 15 | ||||
| -rw-r--r-- | configs/nvim/lua/plugins/nvim-autopairs.lua | 2 | 
2 files changed, 17 insertions, 0 deletions
diff --git a/configs/nvim/lua/plugins.lua b/configs/nvim/lua/plugins.lua new file mode 100644 index 0000000..cc2b31c --- /dev/null +++ b/configs/nvim/lua/plugins.lua @@ -0,0 +1,15 @@ +return { +    "neovim/nvim-lspconfig", +    "hrsh7th/nvim-cmp", +    "hrsh7th/cmp-nvim-lsp", +    "hrsh7th/cmp-buffer", +    "hrsh7th/cmp-path", +    "hrsh7th/cmp-cmdline", +    "L3MON4D3/LuaSnip", +    "saadparwaiz1/cmp_luasnip", +    { +        "windwp/nvim-autopairs", +        event = "InsertEnter", +        opts = {} +    } +} diff --git a/configs/nvim/lua/plugins/nvim-autopairs.lua b/configs/nvim/lua/plugins/nvim-autopairs.lua new file mode 100644 index 0000000..acfa202 --- /dev/null +++ b/configs/nvim/lua/plugins/nvim-autopairs.lua @@ -0,0 +1,2 @@ +return { "windwp/nvim-autopairs", event = +"InsertEnter", opts = {} }  | 
