86 |
86 |
87 map("n", "gD", vim.lsp.buf.declaration, bufopts) |
87 map("n", "gD", vim.lsp.buf.declaration, bufopts) |
88 map("n", "gd", vim.lsp.buf.definition, bufopts) |
88 map("n", "gd", vim.lsp.buf.definition, bufopts) |
89 map("n", "K", vim.lsp.buf.hover, bufopts) |
89 map("n", "K", vim.lsp.buf.hover, bufopts) |
90 map("n", "gi", vim.lsp.buf.implementation, bufopts) |
90 map("n", "gi", vim.lsp.buf.implementation, bufopts) |
91 map("n", "<C-S>", vim.lsp.buf.signature_help, bufopts) |
91 map("i", "<C-S>", vim.lsp.buf.signature_help, bufopts) |
92 map("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, bufopts) |
92 map("n", "<leader>wa", vim.lsp.buf.add_workspace_folder, bufopts) |
93 map("n", "<leader>wr", vim.lsp.buf.remove_workspace_folder, bufopts) |
93 map("n", "<leader>wr", vim.lsp.buf.remove_workspace_folder, bufopts) |
94 map("n", "<leader>wl", function() |
94 map("n", "<leader>wl", function() |
95 print(vim.inspect(vim.lsp.buf.list_workspace_folders())) |
95 print(vim.inspect(vim.lsp.buf.list_workspace_folders())) |
96 end, bufopts) |
96 end, bufopts) |