mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-31 00:17:46 +02:00
nvim: mason and null_ls set up automatically
This commit is contained in:
parent
f8f626cd67
commit
62ee4ff09a
@ -113,6 +113,7 @@ require("mason").setup()
|
|||||||
-- williamboman/mason-lspconfig.nvim
|
-- williamboman/mason-lspconfig.nvim
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
automatic_setup = true,
|
automatic_setup = true,
|
||||||
|
ensure_installed = { "pyright", "bashls", "texlab", "nimls", "marksman", "jdtls", "lua_ls" }
|
||||||
})
|
})
|
||||||
|
|
||||||
-- jay-babu/mason-null-ls.nvim
|
-- jay-babu/mason-null-ls.nvim
|
||||||
@ -138,7 +139,7 @@ local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
|||||||
-- neovim/nvim-lspconfig
|
-- neovim/nvim-lspconfig
|
||||||
local nvim_lsp = require('lspconfig')
|
local nvim_lsp = require('lspconfig')
|
||||||
|
|
||||||
local servers = { "pyright", "bashls", "texlab", "ccls", "nimls", "marksman" }
|
local servers = { "pyright", "bashls", "texlab", "nimls", "marksman" }
|
||||||
|
|
||||||
local attach_func = function(client, bufnr)
|
local attach_func = function(client, bufnr)
|
||||||
navbuddy.attach(client, bufnr)
|
navbuddy.attach(client, bufnr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user