-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.nix
98 lines (88 loc) · 2.21 KB
/
plugins.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{ pkgs }:
let
treesitter-fsharp-grammar = pkgs.tree-sitter.buildGrammar {
language = "fsharp";
version = "0.0.0+rev=f54ac4e";
src = pkgs.fetchFromGitHub {
owner = "ionide";
repo = "tree-sitter-fsharp";
rev = "f54ac4e66843b5af4887b586888e01086646b515";
hash = "sha256-zKfMfue20B8sbS1tQKZAlokRV7efMsxBk7ySQmzLo0Y=";
};
fixupPhase = ''
mkdir -p $out/queries/fsharp
mv $out/queries/*.scm $out/queries/fsharp/
'';
meta.homepage = "https://github.com/ionide/tree-sitter-fsharp";
};
nvim-treesitter = (
pkgs.vimPlugins.nvim-treesitter.withPlugins (
plugins:
[
plugins.scala
plugins.nix
plugins.java
plugins.haskell
plugins.python
plugins.rust
plugins.javascript
plugins.typescript
plugins.lua
plugins.yaml
plugins.xml
plugins.sql
plugins.smithy
plugins.dockerfile
plugins.css
plugins.kotlin
plugins.c_sharp
plugins.gleam
plugins.clojure
plugins.fennel
plugins.org
]
++ [ treesitter-fsharp-grammar ]
)
);
in
[
# UI
pkgs.vimPlugins.telescope-nvim
pkgs.vimPlugins.indent-blankline-nvim
pkgs.vimPlugins.trouble-nvim
pkgs.vimPlugins.nvim-web-devicons
pkgs.vimPlugins.luatab-nvim
# Git
pkgs.vimPlugins.gitsigns-nvim
pkgs.vimPlugins.neogit
# Editing
pkgs.vimPlugins.luasnip
pkgs.vimPlugins.nvim-autopairs
pkgs.vimPlugins.nvim-cmp
pkgs.vimPlugins.cmp-buffer
pkgs.vimPlugins.cmp-nvim-lsp
pkgs.vimPlugins.cmp-nvim-lsp-signature-help
pkgs.vimPlugins.cmp-path
pkgs.vimPlugins.cmp_luasnip
#theme
pkgs.vimPlugins.kanagawa-nvim
pkgs.vimPlugins.modus-themes-nvim
# lsp stuff
pkgs.vimPlugins.nvim-lspconfig
pkgs.vimPlugins.nvim-metals
pkgs.vimPlugins.rustaceanvim
pkgs.vimPlugins.nvim-dap
pkgs.vimPlugins.nvim-dap-ui
pkgs.vimPlugins.conform-nvim
pkgs.vimPlugins.nvim-jdtls
pkgs.vimPlugins.conjure
pkgs.vimPlugins.Ionide-vim
# Other
pkgs.vimPlugins.mini-nvim
pkgs.vimPlugins.nfnl
pkgs.vimPlugins.project-nvim
pkgs.vimPlugins.neovim-project
pkgs.vimPlugins.neovim-session-manager
pkgs.vimPlugins.orgmode
]
++ [ nvim-treesitter ]