summaryrefslogtreecommitdiff
path: root/vim/.config/nvim/lsp/tailwind-ls.lua
diff options
context:
space:
mode:
authorgyoder <70408179+gyoder@users.noreply.github.com>2025-06-14 11:41:23 +0200
committergyoder <70408179+gyoder@users.noreply.github.com>2025-06-14 11:41:23 +0200
commitbdf3cdecda3d112b14e3ceb50ce4f88862813270 (patch)
treeaec5cd7764ff726740426dd9e4897e8cdcbf97b6 /vim/.config/nvim/lsp/tailwind-ls.lua
parentd6d6dab3806f88e27990936e83c7b74d08215a9d (diff)
added existing nvim config
Diffstat (limited to 'vim/.config/nvim/lsp/tailwind-ls.lua')
-rw-r--r--vim/.config/nvim/lsp/tailwind-ls.lua62
1 files changed, 62 insertions, 0 deletions
diff --git a/vim/.config/nvim/lsp/tailwind-ls.lua b/vim/.config/nvim/lsp/tailwind-ls.lua
new file mode 100644
index 0000000..9ab35a8
--- /dev/null
+++ b/vim/.config/nvim/lsp/tailwind-ls.lua
@@ -0,0 +1,62 @@
+return {
+ cmd = { 'tailwindcss-language-server', '--stdio' },
+ filetypes = {
+ -- html
+ 'aspnetcorerazor',
+ 'astro',
+ 'astro-markdown',
+ 'blade',
+ 'clojure',
+ 'django-html',
+ 'htmldjango',
+ 'edge',
+ 'eelixir', -- vim ft
+ 'elixir',
+ 'ejs',
+ 'erb',
+ 'eruby', -- vim ft
+ 'gohtml',
+ 'gohtmltmpl',
+ 'haml',
+ 'handlebars',
+ 'hbs',
+ 'html',
+ 'htmlangular',
+ 'html-eex',
+ 'heex',
+ 'jade',
+ 'leaf',
+ 'liquid',
+ 'markdown',
+ 'mdx',
+ 'mustache',
+ 'njk',
+ 'nunjucks',
+ 'php',
+ 'razor',
+ 'slim',
+ 'twig',
+ -- css
+ 'css',
+ 'less',
+ 'postcss',
+ 'sass',
+ 'scss',
+ 'stylus',
+ 'sugarss',
+ -- js
+ 'javascript',
+ 'javascriptreact',
+ 'reason',
+ 'rescript',
+ 'typescript',
+ 'typescriptreact',
+ -- mixed
+ 'vue',
+ 'svelte',
+ 'templ',
+ },
+ root_markers = {
+ 'tailwind.config.js'
+ },
+}