.config/nvim/lua/config/maps.lua

changeset 1153
57809d2642ff
parent 1152
59d9ca2ec2fd
child 1158
0e7310186a57
equal deleted inserted replaced
1152:59d9ca2ec2fd 1153:57809d2642ff
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)

mercurial