telescope bindings and lua ls options

This commit is contained in:
Alexander Gehrke 2023-03-31 12:16:59 +02:00
parent 6f90d902b9
commit 85112244f6
3 changed files with 5 additions and 8 deletions

View file

@ -24,11 +24,10 @@ telescope.load_extension("ui-select")
--telescope.load_extension('lsp_handlers') --telescope.load_extension('lsp_handlers')
-- --
map('n', 'gff', telescope.builtin.fd) map('n', ',ff', telescope.builtin.fd)
map('n', 'gfg', telescope.builtin.git_files) map('n', ',fg', telescope.builtin.git_files)
map('n', 'gfs', telescope.builtin.git_status) map('n', ',gs', telescope.builtin.git_status)
map('n', 'gs', telescope.builtin.git_status) map('n', ',s', telescope.builtin.lsp_dynamic_workspace_symbols)
map('n', 'gs', telescope.builtin.lsp_dynamic_workspace_symbols)
map('n', 'g/', telescope.builtin.live_grep) map('n', 'g/', telescope.builtin.live_grep)
map('n', '<C-/>', telescope.builtin.current_buffer_fuzzy_find) map('n', '<C-/>', telescope.builtin.current_buffer_fuzzy_find)
map('n', '<leader>*', telescope.builtin.grep_string) map('n', '<leader>*', telescope.builtin.grep_string)

View file

@ -1,3 +0,0 @@
" search for symbols
map gs :Telescope lsp_dynamic_workspace_symbols<cr>

View file

@ -20,6 +20,7 @@ return function(on_attach)
diagnostics = { globals = { 'vim' } }, diagnostics = { globals = { 'vim' } },
workspace = { workspace = {
library = vim.api.nvim_get_runtime_file("", true), library = vim.api.nvim_get_runtime_file("", true),
checkThirdParty = false,
}, },
telemetry = { enable = false }, telemetry = { enable = false },
}, },