Neovim: Enable eslint and tailwindcss LSP
This commit is contained in:
parent
f58ffdb0e4
commit
08559bae7a
@ -482,26 +482,23 @@ require('lazy').setup({
|
||||
-- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features.
|
||||
-- - settings (table): Override the default settings passed when initializing the server.
|
||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||
--
|
||||
-- See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||
local servers = {
|
||||
-- clangd = {},
|
||||
gopls = {
|
||||
gofumpt = true,
|
||||
},
|
||||
-- pyright = {},
|
||||
-- rust_analyzer = {},
|
||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||
--
|
||||
|
||||
-- Some languages (like typescript) have entire language plugins that can be useful:
|
||||
-- https://github.com/pmizio/typescript-tools.nvim
|
||||
--
|
||||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||
-- tsserver = {},
|
||||
--
|
||||
tsserver = {},
|
||||
|
||||
eslint = {},
|
||||
tailwindcss = {},
|
||||
|
||||
lua_ls = {
|
||||
-- cmd = {...},
|
||||
-- filetypes = { ...},
|
||||
-- capabilities = {},
|
||||
settings = {
|
||||
Lua = {
|
||||
completion = {
|
||||
|
Loading…
Reference in New Issue
Block a user