mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-20 11:40:17 +01:00
fix: enable formatter for javascript
This commit is contained in:
parent
da5c91424e
commit
fdf5736da2
1 changed files with 1 additions and 0 deletions
|
|
@ -306,6 +306,7 @@ in {
|
|||
vim.formatter.conform-nvim = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
formatters_by_ft.javascript = [cfg.format.type];
|
||||
formatters_by_ft.typescript = [cfg.format.type];
|
||||
# .tsx files
|
||||
formatters_by_ft.typescriptreact = [cfg.format.type];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue