Added ts-autotag and changed treesitter config
This commit is contained in:
parent
167efe5a88
commit
25d2639897
4 changed files with 44 additions and 5 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
./bufferline.nix
|
./bufferline.nix
|
||||||
./ts-comments.nix
|
./ts-comments.nix
|
||||||
./flash.nix
|
./flash.nix
|
||||||
|
./ts-autotag.nix
|
||||||
];
|
];
|
||||||
opts = {
|
opts = {
|
||||||
number = true;
|
number = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
{ plugins = { treesitter-context = {
|
{
|
||||||
enable = true;
|
plugins = {
|
||||||
settings.zindex = 5;
|
treesitter-context = {
|
||||||
}; }; }
|
enable = true;
|
||||||
|
settings.zindex = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,36 @@
|
||||||
plugins = {
|
plugins = {
|
||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = { highlight.enable = true; };
|
settings = {
|
||||||
|
highlight.enable = true;
|
||||||
|
indent.enable = true;
|
||||||
|
folds.enable = true;
|
||||||
|
ensure_installed = [
|
||||||
|
"bash"
|
||||||
|
"c"
|
||||||
|
"diff"
|
||||||
|
"html"
|
||||||
|
"javascript"
|
||||||
|
"jsdoc"
|
||||||
|
"json"
|
||||||
|
"lua"
|
||||||
|
"luadoc"
|
||||||
|
"luap"
|
||||||
|
"markdown"
|
||||||
|
"markdown_inline"
|
||||||
|
"printf"
|
||||||
|
"python"
|
||||||
|
"query"
|
||||||
|
"regex"
|
||||||
|
"toml"
|
||||||
|
"tsx"
|
||||||
|
"typescript"
|
||||||
|
"vim"
|
||||||
|
"vimdoc"
|
||||||
|
"xml"
|
||||||
|
"yaml"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
5
config/ts-autotag.nix
Normal file
5
config/ts-autotag.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
plugins.ts-autotag = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue