mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-07 20:53:51 +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 = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
formatters_by_ft.typescript = cfg.format.type;
|
||||
formatters_by_ft.javascript = cfg.format.type;
|
||||
# .tsx/.jsx files
|
||||
formatters_by_ft.typescriptreact = cfg.format.type;
|
||||
formatters_by_ft = {
|
||||
typescript = cfg.format.type;
|
||||
javascript = cfg.format.type;
|
||||
# .tsx/.jsx files
|
||||
typescriptreact = cfg.format.type;
|
||||
};
|
||||
setupOpts.formatters =
|
||||
mapListToAttrs (name: {
|
||||
inherit name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue