✨ feat(nvim): add js to the treesitter for the typescript extra
This commit is contained in:
parent
0c4d91d8f6
commit
469cb8e820
1 changed files with 10 additions and 1 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue