15 lines
418 B
Lua
15 lines
418 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,
|
|
}
|