diff --git a/.config/nvim/lua/lsp/lua.lua b/.config/nvim/lua/lsp/lua.lua index 7328492..76caeb6 100644 --- a/.config/nvim/lua/lsp/lua.lua +++ b/.config/nvim/lua/lsp/lua.lua @@ -3,13 +3,11 @@ -- License : GPLv3 -- Description : sumneko (lua) config file for lsp -local system_name = "Linux" -- set the path to the sumneko installation; if you previously installed via the now deprecated :LspInstall, use local sumneko_root_path = vim.fn.stdpath("data") .. "/lsp_servers/sumneko_lua/extension/server" -local sumneko_binary = sumneko_root_path .. "/bin/" .. system_name .. - "/lua-language-server" +local sumneko_binary = sumneko_root_path .. "/bin/" .. "/lua-language-server" local runtime_path = vim.split(package.path, ';') table.insert(runtime_path, "lua/?.lua") diff --git a/.config/nvim/lua/maps.lua b/.config/nvim/lua/maps.lua index 588ddfd..54c0c79 100644 --- a/.config/nvim/lua/maps.lua +++ b/.config/nvim/lua/maps.lua @@ -20,9 +20,9 @@ utils.map("n", "lp", "lua vim.diagnostic.goto_prev()") utils.map("n", "lf", "lua vim.lsp.buf.formatting()") -- telescope -utils.map("n", "tf", "Telescope find_files") -utils.map("n", "tb", "Telescope file_browser") -utils.map("n", "tl", "Telescope live_grep") +utils.map("n", "ff", "Telescope find_files") +utils.map("n", "fb", "Telescope buffers") +utils.map("n", "fl", "Telescope live_grep") -- colorscheme utils.map("n", "", "lua require(\"astronomy\").toggle_variant()") diff --git a/.config/nvim/lua/plugin/packer.lua b/.config/nvim/lua/plugin/packer.lua index e966282..0af119b 100644 --- a/.config/nvim/lua/plugin/packer.lua +++ b/.config/nvim/lua/plugin/packer.lua @@ -36,13 +36,13 @@ return require("packer").startup(function() "nvim-telescope/telescope.nvim", opt = true, requires = { - { - "nvim-lua/popup.nvim", - opt = true - }, { "nvim-lua/plenary.nvim", opt = true + }, + {'nvim-telescope/telescope-fzf-native.nvim', + opt = true, + run = 'make' } }, cmd = "Telescope" @@ -70,7 +70,8 @@ return require("packer").startup(function() requires = { { "L3MON4D3/LuaSnip", - config = function() require("plugin.luasnip") end + config = function() + require("plugin.luasnip") end }, "saadparwaiz1/cmp_luasnip", "hrsh7th/cmp-nvim-lsp", @@ -101,11 +102,4 @@ return require("packer").startup(function() "norcalli/nvim-colorizer.lua", cmd = "ColorizerToggle" } - - -- ens - use { - "whonore/Coqtail", - ft = { "verilog" }, - config = vim.cmd[[let g:coqtail_nomap = 1]] - } end)