This repository has been archived on 2024-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
neovim/plugins/syntax/default.nix
2022-09-16 10:10:38 +03:00

22 lines
437 B
Nix

{ vimPlugins, ... }:
{
luaConfig = builtins.readFile ./treesitter.lua;
plugins = [
(vimPlugins.nvim-treesitter.withPlugins
(ts: with ts; [
tree-sitter-nix
tree-sitter-lua
tree-sitter-ledger
tree-sitter-yaml
tree-sitter-json
tree-sitter-typescript
tree-sitter-javascript
tree-sitter-rust
tree-sitter-haskell
tree-sitter-bash
]))
];
}