find files, sumneko deprecation, plugin updates
This commit is contained in:
parent
50afb12ae5
commit
c9075e6d72
4 changed files with 10 additions and 8 deletions
|
@ -73,7 +73,8 @@ keymap("x", "-", "/", opts)
|
|||
keymap("n", "<leader>e", ":NvimTreeToggle<CR>", opts)
|
||||
|
||||
-- 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>fp", ":Telescope projects<CR>", opts)
|
||||
keymap("n", "<leader>fb", ":Telescope buffers<CR>", opts)
|
||||
|
|
|
@ -83,7 +83,7 @@ M.on_attach = function(client, bufnr)
|
|||
client.server_capabilities.documentFormattingProvider = false
|
||||
end
|
||||
|
||||
if client.name == "sumneko_lua" then
|
||||
if client.name == "lua_ls" then
|
||||
client.server_capabilities.documentFormattingProvider = false
|
||||
end
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
local servers = {
|
||||
"sumneko_lua",
|
||||
"lua_ls",
|
||||
"cssls",
|
||||
"html",
|
||||
"tsserver",
|
||||
|
@ -10,6 +10,7 @@ local servers = {
|
|||
"rust_analyzer",
|
||||
"gopls",
|
||||
"clangd",
|
||||
"taplo"
|
||||
}
|
||||
|
||||
local settings = {
|
||||
|
|
|
@ -79,11 +79,11 @@ return packer.startup(function(use)
|
|||
|
||||
-- LSP
|
||||
-- use { "williamboman/nvim-lsp-installer", commit = "e9f13d7acaa60aff91c58b923002228668c8c9e6" } -- simple to use language server installer
|
||||
use({ "neovim/nvim-lspconfig", commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda" }) -- enable LSP
|
||||
use({ "williamboman/mason.nvim", commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12" })
|
||||
use({ "williamboman/mason-lspconfig.nvim", commit = "0051870dd728f4988110a1b2d47f4a4510213e31" })
|
||||
use({ "jose-elias-alvarez/null-ls.nvim", commit = "c0c19f32b614b3921e17886c541c13a72748d450" }) -- for formatters and linters
|
||||
use({ "RRethy/vim-illuminate", commit = "a2e8476af3f3e993bb0d6477438aad3096512e42" })
|
||||
use({ "neovim/nvim-lspconfig" }) -- enable LSP
|
||||
use({ "williamboman/mason.nvim" })
|
||||
use({ "williamboman/mason-lspconfig.nvim" })
|
||||
use({ "jose-elias-alvarez/null-ls.nvim" }) -- for formatters and linters
|
||||
use({ "RRethy/vim-illuminate" })
|
||||
|
||||
-- Telescope
|
||||
use({ "nvim-telescope/telescope.nvim", commit = "76ea9a898d3307244dce3573392dcf2cc38f340f" })
|
||||
|
|
Loading…
Reference in a new issue