English is a programming language, fight me

This commit is contained in:
Geoffrey Frogeye 2024-01-19 22:50:01 +01:00
parent eac22be095
commit 55756e4ae7
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
9 changed files with 165 additions and 62 deletions

View file

@ -91,8 +91,6 @@
# Language-specific
tcomment_vim # Language-aware (un)commenting
] ++ lib.optionals config.frogeye.extra [
vim-LanguageTool # Check grammar for human languages
] ++ lib.optionals config.programs.pandoc.enable [
vim-pandoc # Pandoc-specific stuff because there's no LSP for it
vim-pandoc-syntax
@ -100,7 +98,6 @@
ansible-vim
# Doesn't generate snippets, but those are for UltiSnip anyways
];
extraConfigLua = builtins.readFile ./symbols-outline-nvim.lua;
extraConfigVim = ''
" GENERAL
@ -110,11 +107,6 @@
command Reload source $MYVIMRC
" PLUGINS
'' + lib.optionalString config.frogeye.extra ''
" languagetool
let g:languagetool_cmd = "${pkgs.languagetool}/bin/languagetool-commandline"
" TODO Doesn't work
'' + lib.optionalString config.programs.pandoc.enable ''
" vim-pandox
let g:pandoc#modules#disabled = ["folding"]
@ -153,9 +145,6 @@
# PLUGINS
# symbols-outline-nvim
{ key = "<Space>s"; action = "<Cmd>SymbolsOutline<CR>"; options = { silent = true; }; }
# undotree
{ key = "<Space>u"; action = "<Cmd>UndotreeToggle<CR>"; options = { silent = true; }; }