1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

use emmylua-nvim instead of cmp-nvim-lua for better completion

This commit is contained in:
jdhao 2022-07-27 21:08:03 +08:00
parent aae9a7b7a7
commit 58ed71f870

View File

@ -30,7 +30,7 @@ require("packer").startup({
-- nvim-cmp completion sources -- nvim-cmp completion sources
use {"hrsh7th/cmp-nvim-lsp", after = "nvim-cmp"} 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-path", after = "nvim-cmp"}
use {"hrsh7th/cmp-buffer", after = "nvim-cmp"} use {"hrsh7th/cmp-buffer", after = "nvim-cmp"}
use { "hrsh7th/cmp-omni", after = "nvim-cmp" } use { "hrsh7th/cmp-omni", after = "nvim-cmp" }
@ -356,6 +356,8 @@ require("packer").startup({
requires = { 'kyazdani42/nvim-web-devicons' }, requires = { 'kyazdani42/nvim-web-devicons' },
config = [[require('config.nvim-tree')]] config = [[require('config.nvim-tree')]]
} }
use { 'ii14/emmylua-nvim', ft = 'lua' }
end, end,
config = { config = {
max_jobs = 16, max_jobs = 16,