Files
lua-config-vim/lua/plugins/lspconfig.lua

68 lines
1.4 KiB
Lua

return {
{
"neovim/nvim-lspconfig",
opts = {
diagnostics = {
underline = true,
virtual_text = false,
float = {
border = "rounded",
},
},
servers = {
kotlin_language_server = {},
bashls = {},
lemminx = {},
ltex = {
settings = {
ltex = {
language = "ru-RU",
},
},
},
},
},
},
}
-- return {
-- "neovim/nvim-lspconfig",
-- dependencies = {
-- -- "jose-elias-alvarez/null-ls.nvim",
-- {
-- "williamboman/mason.nvim",
-- opts = {
-- ui = {
-- border = "rounded",
-- },
-- },
-- },
-- "folke/neodev.nvim",
-- "williamboman/mason-lspconfig.nvim",
-- "WhoIsSethDaniel/mason-tool-installer.nvim",
-- },
-- event = "VeryLazy",
-- main = "alpha.lsp",
-- opts = {
-- mason = {
-- enable = true,
-- auto_install = false,
-- },
-- servers = {
-- phpactor = {
-- enable = true,
-- filetypes = { "php", "blade" },
-- settings = {
-- intelephense = {
-- filetypes = { "php", "blade" },
-- files = {
-- associations = { "*.php", "*.blade.php" }, -- Associating .blade.php files as well
-- maxSize = 5000000,
-- },
-- },
-- },
-- },
--
-- },
-- },
-- }