|
@ -34,10 +34,10 @@ lsp.configure("efm", { |
|
|
filetypes = { "sh", "bash", "zsh" } |
|
|
filetypes = { "sh", "bash", "zsh" } |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
lsp.on_attach(function(client, bufnr) |
|
|
|
|
|
local opts = { buffer = bufnr, remap = false } |
|
|
|
|
|
vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts) |
|
|
|
|
|
end) |
|
|
|
|
|
|
|
|
--lsp.on_attach(function(client, bufnr) |
|
|
|
|
|
-- local opts = { buffer = bufnr, remap = false } |
|
|
|
|
|
-- vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts) |
|
|
|
|
|
--end) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lsp.setup() |
|
|
lsp.setup() |
|
|