Compare commits
2 commits
233a8e1104
...
1624e59c27
Author | SHA1 | Date | |
---|---|---|---|
1624e59c27 | |||
b3e2aeb85f |
2 changed files with 5 additions and 1 deletions
|
@ -29,6 +29,7 @@ map('n', '<Leader>nv', ':Telescope find_files cwd=~/.config/nvim<Enter>
|
|||
map('n', '<Leader>nc', ':Telescope find_files cwd=~/.config<Enter>', options)
|
||||
|
||||
map('n', '<Leader>gd', ':Telescope lsp_definitions<Enter>', options)
|
||||
map('n', '<Leader>gD', ':Telescope lsp_declaration<Enter>', options)
|
||||
map('n', '<Leader>gr', ':Telescope lsp_references<Enter>', options)
|
||||
map('n', '<Leader>gs', ':Telescope lsp_workspace_symbols<Enter>', options)
|
||||
map('n', '<Leader>gS', ':Telescope lsp_dynamic_workspace_symbols<Enter>', options)
|
||||
|
@ -69,7 +70,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
|
|||
|
||||
vim.keymap.set('n', 'K', '<cmd>lua vim.lsp.buf.hover()<cr>', opts)
|
||||
--vim.keymap.set('n', 'gd', '<cmd>lua vim.lsp.buf.definition()<cr>', opts)
|
||||
vim.keymap.set('n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<cr>', opts)
|
||||
--vim.keymap.set('n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<cr>', opts)
|
||||
vim.keymap.set('n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<cr>', opts)
|
||||
vim.keymap.set('n', 'go', '<cmd>lua vim.lsp.buf.type_definition()<cr>', opts)
|
||||
--vim.keymap.set('n', 'gr', '<cmd>lua vim.lsp.buf.references()<cr>', opts)
|
||||
|
|
|
@ -23,3 +23,6 @@ vim.opt.listchars:append {
|
|||
vim.opt.list = true
|
||||
|
||||
vim.opt.spelllang = {'fr', 'en'}
|
||||
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.splitright = true
|
||||
|
|
Loading…
Reference in a new issue