Added ols to lsp configs.
This commit is contained in:
@@ -47,7 +47,7 @@ map("n", "<leader>sf", ":lua FzfLua.grep_curbuf()<CR>")
|
|||||||
map("n", "<leader>sw", ":lua FzfLua.grep_cword()<CR>")
|
map("n", "<leader>sw", ":lua FzfLua.grep_cword()<CR>")
|
||||||
|
|
||||||
-- Lsp specific, uses nvim-lspconfigs with the below
|
-- Lsp specific, uses nvim-lspconfigs with the below
|
||||||
vim.lsp.enable({ "gopls" })
|
vim.lsp.enable({ "gopls", "ols" })
|
||||||
map("n", "L", ":lua vim.diagnostic.open_float()<CR>")
|
map("n", "L", ":lua vim.diagnostic.open_float()<CR>")
|
||||||
map("n", "gd", ":lua vim.lsp.buf.definition()<CR>")
|
map("n", "gd", ":lua vim.lsp.buf.definition()<CR>")
|
||||||
map("n", "<leader>r", ":lua vim.lsp.buf.rename()<CR>")
|
map("n", "<leader>r", ":lua vim.lsp.buf.rename()<CR>")
|
||||||
|
|||||||
Reference in New Issue
Block a user