remove ,fc
This commit is contained in:
@@ -491,7 +491,6 @@ require'lazy'.setup{ --{{{1
|
|||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require'mason'.setup()
|
require'mason'.setup()
|
||||||
|
|
||||||
require'mason-lspconfig'.setup()
|
require'mason-lspconfig'.setup()
|
||||||
vim.lsp.config.zls = {
|
vim.lsp.config.zls = {
|
||||||
before_init = function(_, _)
|
before_init = function(_, _)
|
||||||
@@ -543,12 +542,6 @@ require'lazy'.setup{ --{{{1
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
local function jump_to_definition()
|
|
||||||
local word = vim.fn.expand('<cword>')
|
|
||||||
vim.cmd('tag ' .. word)
|
|
||||||
end
|
|
||||||
|
|
||||||
vim.keymap.set( 'n', ',fc', jump_to_definition, { noremap = true, silent = true})
|
|
||||||
vim.keymap.set( 'n', ',fd', vim.lsp.buf.definition, { noremap = true, silent = true})
|
vim.keymap.set( 'n', ',fd', vim.lsp.buf.definition, { noremap = true, silent = true})
|
||||||
|
|
||||||
vim.cmd [[
|
vim.cmd [[
|
||||||
|
|||||||
Reference in New Issue
Block a user