From 85112244f636aad68040c9d79b0b4900cd1feea5 Mon Sep 17 00:00:00 2001
From: Alexander Gehrke <github@qwertyuiop.de>
Date: Fri, 31 Mar 2023 12:16:59 +0200
Subject: [PATCH] telescope bindings and lua ls options

---
 after/plugin/telescope.lua | 9 ++++-----
 after/plugin/telescope.vim | 3 ---
 lua/lsp/installer.lua      | 1 +
 3 files changed, 5 insertions(+), 8 deletions(-)
 delete mode 100644 after/plugin/telescope.vim

diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua
index 82d2e47..fde5ea6 100644
--- a/after/plugin/telescope.lua
+++ b/after/plugin/telescope.lua
@@ -24,11 +24,10 @@ telescope.load_extension("ui-select")
 
 --telescope.load_extension('lsp_handlers')
 --
-map('n', 'gff', telescope.builtin.fd)
-map('n', 'gfg', telescope.builtin.git_files)
-map('n', 'gfs', telescope.builtin.git_status)
-map('n', 'gs', telescope.builtin.git_status)
-map('n', 'gs', telescope.builtin.lsp_dynamic_workspace_symbols)
+map('n', ',ff', telescope.builtin.fd)
+map('n', ',fg', telescope.builtin.git_files)
+map('n', ',gs', telescope.builtin.git_status)
+map('n', ',s', telescope.builtin.lsp_dynamic_workspace_symbols)
 map('n', 'g/', telescope.builtin.live_grep)
 map('n', '<C-/>', telescope.builtin.current_buffer_fuzzy_find)
 map('n', '<leader>*', telescope.builtin.grep_string)
diff --git a/after/plugin/telescope.vim b/after/plugin/telescope.vim
deleted file mode 100644
index 5243adb..0000000
--- a/after/plugin/telescope.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-
-" search for symbols
-map gs :Telescope lsp_dynamic_workspace_symbols<cr>
diff --git a/lua/lsp/installer.lua b/lua/lsp/installer.lua
index e0da00c..da84470 100644
--- a/lua/lsp/installer.lua
+++ b/lua/lsp/installer.lua
@@ -20,6 +20,7 @@ return function(on_attach)
           diagnostics = { globals = { 'vim' } },
           workspace = {
             library = vim.api.nvim_get_runtime_file("", true),
+            checkThirdParty = false,
           },
           telemetry = { enable = false },
         },