2024-04-14 18:41:15 -07:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
---@class PluginLspOpts
|
|
|
|
opts = {
|
|
|
|
servers = {
|
|
|
|
-- data/conf
|
2024-04-22 19:36:16 -07:00
|
|
|
{{ if not .isServer -}}
|
2024-04-14 18:41:15 -07:00
|
|
|
sqlls = {},
|
2024-04-22 19:36:16 -07:00
|
|
|
{{ end -}}
|
2024-04-14 18:41:15 -07:00
|
|
|
taplo = {},
|
|
|
|
|
|
|
|
-- web
|
|
|
|
html = {
|
2024-04-22 19:36:16 -07:00
|
|
|
filetypes = { "html" {{ if not .isServer }}, "liquid"{{ end }} },
|
2024-04-14 18:41:15 -07:00
|
|
|
},
|
|
|
|
css_variables = { mason = false },
|
|
|
|
cssls = {},
|
2024-04-22 19:36:16 -07:00
|
|
|
{{ if not .isServer -}}
|
2024-04-14 18:41:15 -07:00
|
|
|
denols = {},
|
|
|
|
volar = {
|
|
|
|
filetypes = {
|
|
|
|
"typescript",
|
|
|
|
"javascript",
|
|
|
|
"javascriptreact",
|
|
|
|
"typescriptreact",
|
|
|
|
"vue",
|
|
|
|
"json",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
stylelint_lsp = {
|
|
|
|
settings = {
|
|
|
|
stylelintplus = {
|
|
|
|
autoFixOnFormat = true,
|
|
|
|
validateOnSave = true,
|
|
|
|
validateOnType = false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-04-22 19:36:16 -07:00
|
|
|
{{ end -}}
|
2024-04-14 18:41:15 -07:00
|
|
|
emmet_language_server = {
|
|
|
|
filetypes = {
|
|
|
|
"css",
|
|
|
|
"eruby",
|
|
|
|
"html",
|
|
|
|
"javascriptreact",
|
|
|
|
"less",
|
|
|
|
"sass",
|
|
|
|
"scss",
|
|
|
|
"pug",
|
|
|
|
"typescriptreact",
|
|
|
|
"vue",
|
|
|
|
"blade",
|
|
|
|
},
|
|
|
|
-- Read more about this options in the [vscode docs](https://code.visualstudio.com/docs/editor/emmet#_emmet-configuration).
|
|
|
|
-- **Note:** only the options listed in the table are supported.
|
|
|
|
init_options = {
|
|
|
|
---@type table<string, string>
|
|
|
|
includeLanguages = {},
|
|
|
|
--- @type string[]
|
|
|
|
excludeLanguages = {},
|
|
|
|
--- @type string[]
|
|
|
|
extensionsPath = {},
|
|
|
|
--- @type table<string, any> [Emmet Docs](https://docs.emmet.io/customization/preferences/)
|
|
|
|
preferences = {},
|
|
|
|
--- @type boolean Defaults to `true`
|
|
|
|
showAbbreviationSuggestions = true,
|
|
|
|
--- @type "always" | "never" Defaults to `"always"`
|
|
|
|
showExpandedAbbreviation = "always",
|
|
|
|
--- @type boolean Defaults to `false`
|
|
|
|
showSuggestionsAsSnippets = false,
|
|
|
|
--- @type table<string, any> [Emmet Docs](https://docs.emmet.io/customization/syntax-profiles/)
|
|
|
|
syntaxProfiles = {},
|
|
|
|
--- @type table<string, string> [Emmet Docs](https://docs.emmet.io/customization/snippets/#variables)
|
|
|
|
variables = {},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2024-04-22 19:36:16 -07:00
|
|
|
{{ if not .isServer -}}
|
2024-04-14 18:41:15 -07:00
|
|
|
-- php
|
|
|
|
phpactor = {
|
|
|
|
filetypes = { "php", "blade" },
|
|
|
|
},
|
2024-04-22 19:36:16 -07:00
|
|
|
{{ end -}}
|
2024-04-14 18:41:15 -07:00
|
|
|
|
|
|
|
-- shell
|
|
|
|
bashls = {},
|
|
|
|
pkgbuild_language_server = { mason = false },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|