Updated config
This commit is contained in:
parent
d57170e711
commit
d5c16fc1a1
10 changed files with 68 additions and 461 deletions
|
@ -11,6 +11,17 @@ on({ "BufNewFile", "BufRead" }, {
|
|||
end,
|
||||
})
|
||||
|
||||
on({ "LspAttach" }, {
|
||||
desc = "LSP completion",
|
||||
group = group,
|
||||
callback = function(ev)
|
||||
local client = vim.lsp.get_client_by_id(ev.data.client_id)
|
||||
if client:supports_method("textDocument/completion") then
|
||||
vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true })
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
on({ "TermOpen", "TermEnter" }, {
|
||||
desc = "Disable sign column in terminals",
|
||||
group = group,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue