aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAsh <ashisbitt@icloud.com>2022-06-24 17:19:15 +0100
committerTJ DeVries <devries.timothyj@gmail.com>2022-07-11 09:08:31 -0400
commitfa3faeede208cf06007d3836a3c1381c620bb354 (patch)
treebf436838825a197d9a850960933c072ea0c3c1c8 /init.lua
parent5788a41cb82e3598fccbe99f4661e8372ff59854 (diff)
Fixed spelling error and missing marker
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 98bd81d..cc3cd0f 100644
--- a/init.lua
+++ b/init.lua
@@ -267,7 +267,7 @@ local on_attach = function(_, bufnr)
end
nmap('<leader>rn', vim.lsp.buf.rename, '[R]e[n]ame')
- nmap('<leader>ca', vim.lsp.buf.code_action, '[C]ode [A]tion')
+ nmap('<leader>ca', vim.lsp.buf.code_action, '[C]ode [A]ction')
nmap('gd', vim.lsp.buf.definition, '[G]oto [D]efinition')
nmap('gi', vim.lsp.buf.implementation, '[G]oto [I]mplementation')
@@ -281,7 +281,7 @@ local on_attach = function(_, bufnr)
-- Lesser used LSP functionality
nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
- nmap('<leader>D', vim.lsp.buf.type_definition, 'Type Definition')
+ nmap('<leader>D', vim.lsp.buf.type_definition, 'Type [D]efinition')
nmap('<leader>wa', vim.lsp.buf.add_workspace_folder, '[W]orkspace [A]dd Folder')
nmap('<leader>wr', vim.lsp.buf.remove_workspace_folder, '[W]orkspace [R]emove Folder')
nmap('<leader>wl', function()