mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-08 05:03:52 +00:00
fmt: ts.nix
This commit is contained in:
parent
4cf72b8b92
commit
7c58bb5220
1 changed files with 6 additions and 4 deletions
|
|
@ -300,10 +300,12 @@ in {
|
||||||
vim.formatter.conform-nvim = {
|
vim.formatter.conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
setupOpts = {
|
setupOpts = {
|
||||||
formatters_by_ft.typescript = cfg.format.type;
|
formatters_by_ft = {
|
||||||
formatters_by_ft.javascript = cfg.format.type;
|
typescript = cfg.format.type;
|
||||||
# .tsx/.jsx files
|
javascript = cfg.format.type;
|
||||||
formatters_by_ft.typescriptreact = cfg.format.type;
|
# .tsx/.jsx files
|
||||||
|
typescriptreact = cfg.format.type;
|
||||||
|
};
|
||||||
setupOpts.formatters =
|
setupOpts.formatters =
|
||||||
mapListToAttrs (name: {
|
mapListToAttrs (name: {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue