figured out html stuff

This commit is contained in:
Jimmy Bates 2024-04-25 23:12:32 -07:00
parent e82a5f92bf
commit a5968ab027
2 changed files with 47 additions and 45 deletions

View File

@ -143,7 +143,8 @@ return { -- LSP Configuration & Plugins
-- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features. -- - 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. -- - 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/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = { local servers =
{
clangd = { clangd = {
cmd = { cmd = {
'clangd', 'clangd',
@ -155,6 +156,7 @@ return { -- LSP Configuration & Plugins
pyright = {}, pyright = {},
deno = {}, deno = {},
ruff = {}, ruff = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
-- --
@ -169,6 +171,7 @@ return { -- LSP Configuration & Plugins
}, },
}, },
}, },
-- --
lua_ls = { lua_ls = {
@ -185,8 +188,7 @@ return { -- LSP Configuration & Plugins
}, },
}, },
}, },
} },
-- Ensure the servers and tools above are installed -- Ensure the servers and tools above are installed
-- To check the current status of installed tools and/or manually install -- To check the current status of installed tools and/or manually install
-- other tools, you can run -- other tools, you can run

View File

@ -11,7 +11,7 @@ return {
-- c = { 'cppcheck' }, -- c = { 'cppcheck' },
javascript = { 'eslint' }, javascript = { 'eslint' },
css = { 'stylelint' }, css = { 'stylelint' },
html = { 'tidy' }, html = { 'djlint' },
} }
-- To allow other plugins to add linters to require('lint').linters_by_ft, -- To allow other plugins to add linters to require('lint').linters_by_ft,