parent
638430a8e3
commit
684b8a5c9e
10 changed files with 125 additions and 179 deletions
common/home/neovim
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
config,
|
||||
neovim-nightly,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
|
@ -16,7 +15,7 @@ in {
|
|||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
package = neovim-nightly.packages.${pkgs.system}.neovim;
|
||||
package = pkgs.neovim-nightly;
|
||||
|
||||
extraLuaConfig =
|
||||
/*
|
||||
|
|
|
@ -25,6 +25,7 @@ in {
|
|||
vimPlugins.nvim-treesitter-textobjects
|
||||
|
||||
{
|
||||
plugin = vimPlugins.nvim-treesitter.withAllGrammars;
|
||||
type = "lua";
|
||||
config =
|
||||
/*
|
||||
|
@ -36,76 +37,6 @@ in {
|
|||
indent = { enable = true },
|
||||
});
|
||||
'';
|
||||
plugin = vimPlugins.nvim-treesitter.withPlugins (p: [
|
||||
p.awk
|
||||
p.bash
|
||||
p.c
|
||||
p.c_sharp
|
||||
p.cairo
|
||||
p.cmake
|
||||
p.comment
|
||||
p.cpp
|
||||
p.css
|
||||
p.csv
|
||||
p.cuda
|
||||
p.diff
|
||||
p.dockerfile
|
||||
p.dot
|
||||
p.git_config
|
||||
p.git_rebase
|
||||
p.gitattributes
|
||||
p.gitcommit
|
||||
p.gitignore
|
||||
p.go
|
||||
p.gomod
|
||||
p.gosum
|
||||
p.groovy
|
||||
p.haskell
|
||||
p.haskell_persistent
|
||||
p.hyprlang
|
||||
p.html
|
||||
p.ini
|
||||
p.java
|
||||
p.javascript
|
||||
p.jq
|
||||
p.jsdoc
|
||||
p.json
|
||||
p.json5
|
||||
p.jsonc
|
||||
p.jsonnet
|
||||
p.kotlin
|
||||
p.latex
|
||||
p.lua
|
||||
p.luadoc
|
||||
p.make
|
||||
p.markdown
|
||||
p.meson
|
||||
p.ninja
|
||||
p.nix
|
||||
p.passwd
|
||||
p.perl
|
||||
p.php
|
||||
p.phpdoc
|
||||
p.properties
|
||||
p.python
|
||||
p.rasi
|
||||
p.regex
|
||||
p.requirements
|
||||
p.ruby
|
||||
p.rust
|
||||
p.scss
|
||||
p.sql
|
||||
p.ssh_config
|
||||
p.toml
|
||||
p.todotxt
|
||||
p.typescript
|
||||
p.udev
|
||||
p.vim
|
||||
p.vimdoc
|
||||
p.vue
|
||||
p.xml
|
||||
p.yaml
|
||||
]);
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue