This commit is contained in:
sankalp committed 2024-01-04 15:42:50 +05:45
1 parent 21c52bc914
commit ec1f8204dd
26 files changed
+457 -818

No files matched your search

@@ -1,7 +1,6 @@
return {
{ import = "pugins.extras.lang.web.typescript-extended" },
{ import = "plugins.extras.lang.web.html" },
{ import = "plugins.extras.lang.web.css" },
{ import = "plugins.extras.lang.web.html-css" },
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
@@ -2,15 +2,19 @@ return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "css", "scss" })
end
vim.list_extend(opts.ensure_installed, {
"html",
"css",
"scss",
})
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
emmet_language_server = {},
html = {},
cssmodules_ls = {},
cssls = {
lint = {
@@ -39,13 +43,19 @@ return {
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "cssmodules-language-server", "css-lsp" })
vim.list_extend(opts.ensure_installed, {
"emmet-language-server",
"html-lsp",
"cssmodules-language-server",
"css-lsp",
})
end,
},
{
"luckasRanarison/nvim-devdocs",
optional = true,
ensure_installed = {
"html",
"css",
"sass",
},
@@ -1,33 +0,0 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"html",
})
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
emmet_language_server = {},
html = {},
},
},
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "emmet-language-server", "html-lsp" })
end,
},
{
"luckasRanarison/nvim-devdocs",
optional = true,
ensure_installed = {
"html",
},
},
}
@@ -1,6 +1,15 @@
return {
{ import = "lazyvim.plugins.extras.lang.typescript" },
{ import = "lazyvim.plugins.extras.lang.json" },
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"javascript",
"jsdoc",
})
end,
},
{
"dmmulroy/tsc.nvim",
opts = {
@@ -95,7 +104,7 @@ return {
["neotest-mocha"] = {
command = "npm test --",
env = { CI = true },
cwd = function(path)
cwd = function()
return vim.fn.getcwd()
end,
},