chore: add TODOs and small refactor

This commit is contained in:
matt1432 2024-01-04 03:39:14 -05:00
parent ff9e3a1eb3
commit 981c4251a6
15 changed files with 86 additions and 71 deletions
common/home/neovim

View file

@ -21,6 +21,7 @@ autocmd FileType scss setl iskeyword+=@-@
set number
set relativenumber
" TODO: make this work for nix-on-droid
set undofile
set undodir=/home/matt/.cache/nvim/

View file

@ -3,14 +3,14 @@
pkgs,
lib,
coc-stylelintplus-flake,
tree-sitter-hypr-flake,
tree-sitter-hyprlang-flake,
...
}:
with lib; let
nvimIde = config.vars.neovimIde;
javaSdk = pkgs.temurin-bin-17;
nvim-treesitter-hypr = tree-sitter-hypr-flake.packages.${pkgs.system}.default;
nvim-treesitter-hyprlang = tree-sitter-hyprlang-flake.packages.${pkgs.system}.default;
coc-stylelintplus = coc-stylelintplus-flake.packages.${pkgs.system}.default;
in {
home = optionalAttrs nvimIde {
@ -237,7 +237,7 @@ in {
++ (with pkgs.vimPlugins; [
nvim-treesitter-context
nvim-treesitter-textobjects
nvim-treesitter-hypr
nvim-treesitter-hyprlang
{
type = "viml";
config = fileContents ./plugins/treesitter.vim;