nix: Finish adding vim plugins
This commit is contained in:
parent
9b450cc22f
commit
d811d025e6
12 changed files with 34 additions and 65 deletions
|
|
@ -15,30 +15,3 @@
|
|||
|
||||
" Theme
|
||||
source ~/.config/vim/theme.vim
|
||||
|
||||
" Undo management
|
||||
{{ use_plugin('undotree') }}
|
||||
|
||||
" Git helpers
|
||||
{{ use_plugin('fugitive') }}
|
||||
{% if variant == 'nvim' %}
|
||||
{{ use_plugin('gitsigns') }}
|
||||
{% else %}
|
||||
{{ use_plugin('gitgutter') }}
|
||||
{% endif %}
|
||||
|
||||
" Language-specific stuff
|
||||
{{ use_plugin('tcomment') }}
|
||||
{{ use_plugin('languagetool') }}
|
||||
{{ use_plugin('pandoc') }}
|
||||
{% if variant == 'nvim' %}
|
||||
{{ use_plugin('dap') }}
|
||||
{{ use_plugin('colorizer') }}
|
||||
{% else %}
|
||||
{% if 'c' in dev_stuffs or 'c++' in dev_stuffs %}
|
||||
{{ use_plugin('vebugger') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if 'ansible' in dev_stuffs %}
|
||||
{{ use_plugin('ansible') }}
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
{# Various for Ansible #}
|
||||
{{ add_source('pearofducks/ansible-vim', { 'do': './UltiSnips/generate.sh'}) -}}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{# Display the actual color for color codes " #}
|
||||
{{ add_source('norcalli/nvim-colorizer.lua') -}}
|
||||
set termguicolors
|
||||
lua << EOF
|
||||
require'colorizer'.setup()
|
||||
EOF
|
||||
{# TODO Enable for css functions too #}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{# Debug Adapter Protocol client #}
|
||||
{{ add_source('mfussenegger/nvim-dap') -}}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{# Git basics #}
|
||||
{{ add_source('tpope/vim-fugitive') -}}
|
||||
{# Open files in GitLab #}
|
||||
{{ add_source('shumphrey/fugitive-gitlab.vim') -}}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{# Show changed git lines in the gutter #}
|
||||
{{ add_source('airblade/vim-gitgutter') -}}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{# Show changed git lines in the gutter #}
|
||||
{{ add_source('lewis6991/gitsigns.nvim') -}}
|
||||
{# Dependency #}
|
||||
{{ add_source('nvim-lua/plenary.nvim') -}}
|
||||
lua << EOF
|
||||
require('gitsigns').setup()
|
||||
EOF
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{# Check grammar for human languages #}
|
||||
{{ add_source('dpelle/vim-LanguageTool') -}}
|
||||
let g:languagetool_jar = "/usr/share/java/languagetool/languagetool-commandline.jar"
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{# Pandoc specific stuff because there's no LSP for it #}
|
||||
{{ add_source('vim-pandoc/vim-pandoc') -}}
|
||||
{{ add_source('vim-pandoc/vim-pandoc-syntax') -}}
|
||||
let g:pandoc#modules#disabled = ["folding"]
|
||||
let g:pandoc#spell#enabled = 0
|
||||
let g:pandoc#syntax#conceal#use = 0
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{# Language-aware (un)commenting #}
|
||||
{{ add_source('tomtom/tcomment_vim') -}}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{# Navigate undo #}
|
||||
{{ add_source('mbbill/undotree') -}}
|
||||
nmap <space>u :UndotreeToggle<CR>
|
||||
Loading…
Add table
Add a link
Reference in a new issue