a bit sloppy but working

This commit is contained in:
2022-06-17 21:39:40 -04:00
parent 07d85081aa
commit 142017e051
45 changed files with 3521 additions and 9 deletions

16
lua/options.lua Normal file
View File

@@ -0,0 +1,16 @@
--require'lspconfig'.gopls.setup{
-- on_attach = function()
-- print("gopls loaded")
-- -- "n" normal mode
-- -- map in normal mode, press K to open buf.hover only in the current buffer
-- vim.keymap.set("n", "K", vim.lsp.buf.hover, {buffer=0})
-- vim.keymap.set("n", "gd", vim.lsp.buf.definition, {buffer=0})
-- -- there is a jump list and tag list
-- -- ctrl+o to go to previous jump entry
-- -- ctrl+t to go to previous tag entry
-- vim.keymap.set("n", "gT", vim.lsp.buf.type_definition, {buffer=0})
-- vim.keymap.set("n", "gi", vim.lsp.buf.implementation, {buffer=0})
-- vim.keymap.set("n", "<leader>df", vim.diagnostic.goto_next, {buffer=0})
--
-- end,
--}