1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 06:44:04 +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

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