find files, sumneko deprecation, plugin updates

This commit is contained in:
Andy Teijelo 2023-03-07 00:19:10 -05:00
parent 50afb12ae5
commit c9075e6d72
4 changed files with 10 additions and 8 deletions

View file

@ -73,7 +73,8 @@ keymap("x", "-", "/", opts)
keymap("n", "<leader>e", ":NvimTreeToggle<CR>", opts) keymap("n", "<leader>e", ":NvimTreeToggle<CR>", opts)
-- Telescope -- Telescope
keymap("n", "<leader>ff", ":Telescope find_files<CR>", opts) keymap("n", "<leader>fa", ":Telescope find_files<CR>", opts)
keymap("n", "<leader>ff", ":Telescope git_files<CR>", opts)
keymap("n", "<leader>ft", ":Telescope live_grep<CR>", opts) keymap("n", "<leader>ft", ":Telescope live_grep<CR>", opts)
keymap("n", "<leader>fp", ":Telescope projects<CR>", opts) keymap("n", "<leader>fp", ":Telescope projects<CR>", opts)
keymap("n", "<leader>fb", ":Telescope buffers<CR>", opts) keymap("n", "<leader>fb", ":Telescope buffers<CR>", opts)

View file

@ -83,7 +83,7 @@ M.on_attach = function(client, bufnr)
client.server_capabilities.documentFormattingProvider = false client.server_capabilities.documentFormattingProvider = false
end end
if client.name == "sumneko_lua" then if client.name == "lua_ls" then
client.server_capabilities.documentFormattingProvider = false client.server_capabilities.documentFormattingProvider = false
end end

View file

@ -1,5 +1,5 @@
local servers = { local servers = {
"sumneko_lua", "lua_ls",
"cssls", "cssls",
"html", "html",
"tsserver", "tsserver",
@ -10,6 +10,7 @@ local servers = {
"rust_analyzer", "rust_analyzer",
"gopls", "gopls",
"clangd", "clangd",
"taplo"
} }
local settings = { local settings = {

View file

@ -79,11 +79,11 @@ return packer.startup(function(use)
-- LSP -- LSP
-- use { "williamboman/nvim-lsp-installer", commit = "e9f13d7acaa60aff91c58b923002228668c8c9e6" } -- simple to use language server installer -- use { "williamboman/nvim-lsp-installer", commit = "e9f13d7acaa60aff91c58b923002228668c8c9e6" } -- simple to use language server installer
use({ "neovim/nvim-lspconfig", commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda" }) -- enable LSP use({ "neovim/nvim-lspconfig" }) -- enable LSP
use({ "williamboman/mason.nvim", commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12" }) use({ "williamboman/mason.nvim" })
use({ "williamboman/mason-lspconfig.nvim", commit = "0051870dd728f4988110a1b2d47f4a4510213e31" }) use({ "williamboman/mason-lspconfig.nvim" })
use({ "jose-elias-alvarez/null-ls.nvim", commit = "c0c19f32b614b3921e17886c541c13a72748d450" }) -- for formatters and linters use({ "jose-elias-alvarez/null-ls.nvim" }) -- for formatters and linters
use({ "RRethy/vim-illuminate", commit = "a2e8476af3f3e993bb0d6477438aad3096512e42" }) use({ "RRethy/vim-illuminate" })
-- Telescope -- Telescope
use({ "nvim-telescope/telescope.nvim", commit = "76ea9a898d3307244dce3573392dcf2cc38f340f" }) use({ "nvim-telescope/telescope.nvim", commit = "76ea9a898d3307244dce3573392dcf2cc38f340f" })