Add shortcut to expand hint in Neovim
This commit is contained in:
parent
1d3dfd2ad7
commit
9d1d68ad21
|
@ -29,6 +29,8 @@ vim.keymap.set('n', '<leader>tld', builtin.lsp_definitions, {})
|
||||||
vim.keymap.set('n', '<leader>tlt', builtin.lsp_type_definitions, {})
|
vim.keymap.set('n', '<leader>tlt', builtin.lsp_type_definitions, {})
|
||||||
vim.keymap.set("n", "<leader>tlf", vim.lsp.buf.format) -- Format code
|
vim.keymap.set("n", "<leader>tlf", vim.lsp.buf.format) -- Format code
|
||||||
|
|
||||||
|
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float)
|
||||||
|
|
||||||
-- Custom Telescope commands for Rails
|
-- Custom Telescope commands for Rails
|
||||||
vim.keymap.set('n', '<leader>trj', function()
|
vim.keymap.set('n', '<leader>trj', function()
|
||||||
builtin.find_files({ search_dirs = { "app/javascript", "app/assets/javascripts" } })
|
builtin.find_files({ search_dirs = { "app/javascript", "app/assets/javascripts" } })
|
||||||
|
|
Loading…
Reference in New Issue