Powershell stuff
This commit is contained in:
parent
aaa6901544
commit
49e18f81e5
@ -41,6 +41,11 @@
|
||||
inherit (pkgs.tree-sitter) buildGrammar;
|
||||
inherit (pkgs) fetchFromGitHub;
|
||||
};
|
||||
# TODO(jwall): When this actually builds we should use it.
|
||||
#nvim-treesitter-powershell = pkgs.callPackage ./nvim-powershell.nix {
|
||||
# inherit (pkgs.tree-sitter) buildGrammar;
|
||||
# inherit (pkgs) fetchFromGitHub;
|
||||
#};
|
||||
possession-nvim = pkgs.callPackage ./possession-nvim.nix {
|
||||
inherit (pkgs.vimUtils) buildVimPlugin;
|
||||
inherit (pkgs) fetchFromGitHub;
|
||||
@ -58,7 +63,7 @@
|
||||
"tree-sitter-ocaml"
|
||||
"tree-sitter-tlaplus"
|
||||
"tree-sitter-julia"
|
||||
] pkgs.tree-sitter.builtGrammars) ++ [nvim-treesitter-csharp];
|
||||
] pkgs.tree-sitter.builtGrammars) ++ [nvim-treesitter-csharp nvim-treesitter-powershell];
|
||||
in {
|
||||
|
||||
imports = [
|
||||
@ -95,6 +100,7 @@ EOF";
|
||||
nvim-tree-lua
|
||||
nvim-lspconfig
|
||||
packer-nvim
|
||||
vim-ps1
|
||||
vim-lsp
|
||||
vim-vsnip
|
||||
nvim-cmp
|
||||
|
11
nix/base-system/nvim-powershell.nix
Normal file
11
nix/base-system/nvim-powershell.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ buildGrammar, fetchFromGitHub }:
|
||||
buildGrammar {
|
||||
language = "powershell";
|
||||
version = "0.1.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "powershell";
|
||||
repo = "tree-sitter-powershell";
|
||||
rev = "1ac090522cb339a6fd9d3ac915da01cb263d69e1";
|
||||
hash = "sha256-4zGTfscK1Sjo4iKd5Go3LHVpAhQCEWCptcX4wOrZaR8=";
|
||||
};
|
||||
}
|
6
nix/darwin/flake.lock
generated
6
nix/darwin/flake.lock
generated
@ -36,12 +36,12 @@
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-p2WicQAJv2Lg5BlawWZRsr5ZaVu/4DfXgdklCwFdXAw=",
|
||||
"path": "/nix/store/jq4013rbmh1as40j3jcrw6rjjdrvjcs9-source/nix/base-system",
|
||||
"narHash": "sha256-SbhOVB9/kEyllgEb6fB4ZtjP/0HwL9YmQAVLkblF4gA=",
|
||||
"path": "/nix/store/ahbdwscz6zwdbwa1qnhpch2639qgmjgg-source/nix/base-system",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/jq4013rbmh1as40j3jcrw6rjjdrvjcs9-source/nix/base-system",
|
||||
"path": "/nix/store/ahbdwscz6zwdbwa1qnhpch2639qgmjgg-source/nix/base-system",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user