1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 13:54:03 +00:00

editor config: prevent tailwindcss LSP from starting in nvim [ci skip]

This commit is contained in:
Samuel Štancl 2024-04-22 21:27:53 +02:00
parent 77226cf2f4
commit 34297d3e1a
2 changed files with 5 additions and 1 deletions

2
.gitattributes vendored
View file

@ -5,9 +5,9 @@
/.github export-ignore /.github export-ignore
/.gitattributes export-ignore /.gitattributes export-ignore
/.gitignore export-ignore /.gitignore export-ignore
/.styleci.yml export-ignore
/.editorconfig export-ignore /.editorconfig export-ignore
/.coverage.xml export-ignore /.coverage.xml export-ignore
/.nvim.lua export-ignore
/art export-ignore /art export-ignore
/coverage export-ignore /coverage export-ignore
/CONTRIBUTING.md export-ignore /CONTRIBUTING.md export-ignore

4
.nvim.lua Normal file
View file

@ -0,0 +1,4 @@
-- The tailwindcss LSP doesn't play nice with testbench due to the recursive
-- `vendor` symlink in `testbench-core/laravel/vendor`, so we nuke its setup method here.
-- This prevents the setup() call in neovim config from starting the client (or doing anything at all).
require('lspconfig').tailwindcss.setup = function () end