feat(config): added new plugins
This commit is contained in:
67
lua/plugins/lspconfig.lua
Normal file
67
lua/plugins/lspconfig.lua
Normal file
@@ -0,0 +1,67 @@
|
||||
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,
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
--
|
||||
-- },
|
||||
-- },
|
||||
-- }
|
||||
Reference in New Issue
Block a user