This commit is contained in:
Jozef Steinhübl 2023-08-21 22:22:34 +02:00
parent e1f9499a38
commit c38da82467

View file

@ -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({