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
|
||||
./ts-comments.nix
|
||||
./flash.nix
|
||||
./ts-autotag.nix
|
||||
];
|
||||
opts = {
|
||||
number = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{ plugins = { treesitter-context = {
|
||||
enable = true;
|
||||
settings.zindex = 5;
|
||||
}; }; }
|
||||
{
|
||||
plugins = {
|
||||
treesitter-context = {
|
||||
enable = true;
|
||||
settings.zindex = 5;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,36 @@
|
|||
plugins = {
|
||||
treesitter = {
|
||||
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