mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-25 16:11:04 +01:00
nvim
This commit is contained in:
parent
e1f9499a38
commit
c38da82467
1 changed files with 8 additions and 1 deletions
|
@ -10,10 +10,17 @@ lsp.ensure_installed({
|
||||||
"rust_analyzer",
|
"rust_analyzer",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require("lspconfig").zls.setup {
|
||||||
|
settings = {
|
||||||
|
zls = {
|
||||||
|
enable_inlay_hints = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
-- Fix Undefined global "vim"
|
-- Fix Undefined global "vim"
|
||||||
lsp.nvim_workspace()
|
lsp.nvim_workspace()
|
||||||
|
|
||||||
|
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
local cmp_select = {behavior = cmp.SelectBehavior.Select}
|
local cmp_select = {behavior = cmp.SelectBehavior.Select}
|
||||||
local cmp_mappings = lsp.defaults.cmp_mappings({
|
local cmp_mappings = lsp.defaults.cmp_mappings({
|
||||||
|
|
Loading…
Reference in a new issue