neovim: enable autoformat for some patterns

This commit is contained in:
Dmitriy Pleshevskiy 2024-05-17 01:29:34 +03:00
parent d84ee52be2
commit fc593aaaf8
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
2 changed files with 9 additions and 4 deletions

View file

@ -281,11 +281,11 @@
]
},
"locked": {
"lastModified": 1715897837,
"narHash": "sha256-l/6kgNBFr5zs/+TjgAErISfS5UYtWNiQ8P0EcX2bwCM=",
"lastModified": 1715898401,
"narHash": "sha256-w1nH/msvbX236EzcBCD4M3mWFQOgxNUGdqjD9XgLekc=",
"ref": "refs/heads/main",
"rev": "b2fa93c305f666abd57c26eb70f07e60e8266fa5",
"revCount": 63,
"rev": "3bc846691213eb58b287576ce6b6622ea8592a92",
"revCount": 64,
"type": "git",
"url": "https://git.pleshevski.ru/pleshevskiy/nixeovim"
},

View file

@ -76,6 +76,11 @@ in
};
};
plugins.style.neoformat.autoformat = {
enable = true;
pattern = [ "*.ts" "*.tsx" "*.rs" "flake.nix" ];
};
plugins.navigation = {
nvim-tree.settings = {
renderer = {