diff options
| author | jdhao <jdhao@hotmail.com> | 2022-07-27 21:08:03 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-07-27 21:08:03 +0800 |
| commit | 58ed71f87062baa90cde979d5eb46b8c31168af7 (patch) | |
| tree | 897fb80b92554118b9e7af622cb5b11e1f3c742d /lua | |
| parent | aae9a7b7a7c25cd3c8885b1b8c748b3ca0ffeebc (diff) | |
use emmylua-nvim instead of cmp-nvim-lua for better completion
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 2b72926..fe83d93 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -30,7 +30,7 @@ require("packer").startup({ -- nvim-cmp completion sources use {"hrsh7th/cmp-nvim-lsp", after = "nvim-cmp"} - use {"hrsh7th/cmp-nvim-lua", after = "nvim-cmp"} + -- use {"hrsh7th/cmp-nvim-lua", after = "nvim-cmp"} use {"hrsh7th/cmp-path", after = "nvim-cmp"} use {"hrsh7th/cmp-buffer", after = "nvim-cmp"} use { "hrsh7th/cmp-omni", after = "nvim-cmp" } @@ -356,6 +356,8 @@ require("packer").startup({ requires = { 'kyazdani42/nvim-web-devicons' }, config = [[require('config.nvim-tree')]] } + + use { 'ii14/emmylua-nvim', ft = 'lua' } end, config = { max_jobs = 16, |
