aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/lsp/servers
diff options
context:
space:
mode:
authorElvis Claros Castro <elvis@claros.ar>2024-07-11 05:12:18 -0300
committerElvis Claros Castro <elvis@claros.ar>2024-07-11 05:12:18 -0300
commit1fd0af14d592d612c2aaab7717c04c8806ba3daa (patch)
tree46aa59ff785305fcc05209091aecf64ca89e05fb /lua/alpha/lsp/servers
parentfb448577edebb1b093e6cc097c201151385986f8 (diff)
downloadnvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.tar.gz
nvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.zip
Feat: Todo actulizado
Diffstat (limited to 'lua/alpha/lsp/servers')
-rw-r--r--lua/alpha/lsp/servers/kotlin.lua1
-rw-r--r--lua/alpha/lsp/servers/vscode_smarty_langserver.lua25
2 files changed, 25 insertions, 1 deletions
diff --git a/lua/alpha/lsp/servers/kotlin.lua b/lua/alpha/lsp/servers/kotlin.lua
deleted file mode 100644
index 39cdd0d..0000000
--- a/lua/alpha/lsp/servers/kotlin.lua
+++ /dev/null
@@ -1 +0,0 @@
--
diff --git a/lua/alpha/lsp/servers/vscode_smarty_langserver.lua b/lua/alpha/lsp/servers/vscode_smarty_langserver.lua
new file mode 100644
index 0000000..e404698
--- /dev/null
+++ b/lua/alpha/lsp/servers/vscode_smarty_langserver.lua
@@ -0,0 +1,25 @@
+local lsp_attach = require "alpha.lsp.attach"
+local lsp_flags = require "alpha.lsp.flags"
+
+return function(ops)
+ return vim.tbl_extend("force", {
+ on_attach = lsp_attach,
+ flags = lsp_flags,
+ settings = {
+ css = {
+ validate = true
+ },
+ smarty = {
+ pluginDirs = {}
+ },
+ ["smarty_ls"] = {
+ checkOnSave = {
+ overrideCommand = {
+ "smarty-language-server",
+ "--stdio",
+ },
+ },
+ },
+ },
+ }, ops)
+end