feat(ags): add some misc linting and lsps

This commit is contained in:
matt1432 2023-09-19 09:36:14 -04:00
parent d9948209eb
commit 68c1d223d9
2 changed files with 18 additions and 11 deletions

View file

@ -1,14 +1,18 @@
# My NixOS configs
what is currently not working: what is currently not working:
- plymouth theme has no login prompt - plymouth theme has no login prompt
- sddm theme flashes white - sddm theme flashes white
- autosign in to keyring - autosign in to keyring
what i want to do: what i want to do:
- learn flakes - learn flakes
- add auto-rotate widget in ags control center - add auto-rotate widget in ags control center
- add toggle of popups window
- when multiple widgets open, clicking on a background one puts it forward - when multiple widgets open, clicking on a background one puts it forward
# Docs ## Docs
Since I use my laptop with one user, I symlinked the configs to my home directory following the tutorial [here](https://nixos.wiki/wiki/NixOS_configuration_editors) Since I use my laptop with one user, I symlinked the configs to my home
directory following the tutorial [here](https://nixos.wiki/wiki/NixOS_configuration_editors)

View file

@ -27,7 +27,8 @@ in {
"--logpath", "--logpath",
"~/.cache/sumneko_lua/log" "~/.cache/sumneko_lua/log"
], ],
"sumneko-lua.serverDir": "${pkgs.lua-language-server}/share/lua-language-server" "sumneko-lua.serverDir": "${pkgs.lua-language-server}/share/lua-language-server",
"bashIde.shellcheckPath": "${pkgs.shellcheck}/bin/shellcheck"
} }
''; '';
}; };
@ -54,23 +55,26 @@ in {
tree-sitter tree-sitter
nodejs_latest nodejs_latest
bat bat
python311Packages.pylint
]; ];
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
vim-which-key vim-which-key
coc-nvim # done coc-nvim
coc-java # done coc-java
coc-css # done coc-css
coc-sumneko-lua # done coc-sumneko-lua
coc-highlight # done coc-highlight
coc-json coc-json
coc-pairs coc-pairs
coc-python coc-pyright
coc-sh coc-sh
coc-snippets coc-snippets
coc-vimlsp coc-vimlsp
coc-yaml coc-yaml
coc-toml coc-toml
coc-markdownlint
coc-fzf coc-fzf
(plugin "junegunn/fzf.vim") (plugin "junegunn/fzf.vim")
@ -91,7 +95,6 @@ in {
(plugin "MunifTanjim/nui.nvim") (plugin "MunifTanjim/nui.nvim")
# to explore more # to explore more
(plugin "iamcco/markdown-preview.nvim")
(plugin "sindrets/diffview.nvim") (plugin "sindrets/diffview.nvim")
(plugin "folke/todo-comments.nvim") (plugin "folke/todo-comments.nvim")
(plugin "petertriho/nvim-scrollbar") (plugin "petertriho/nvim-scrollbar")