neovim/lua/lsp/init.lua
Young Xu 27b6726aea
feat: support java
fix: nvim tree filter .gitignore
support: rust language
2023-04-29 20:17:15 +08:00

15 lines
391 B
Lua

-- Use an on_attach function to only map the following keys
-- after the language server attaches to the current buffer
common_lsp_on_attach = function(client, bufnr)
local function buf_set_keymap(...)
vim.api.nvim_buf_set_keymap(bufnr, ...)
end
local function buf_set_option(...)
vim.api.nvim_buf_set_option(bufnr, ...)
end
end
common_lsp_flags = {
debounce_text_changes = 500,
}