local lsp_attach = require "pi.lsp.attach" local lsp_flags = require "pi.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