From c58abab9e5f14fdabb1ea8b314c370fb515b7b69 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Wed, 26 Oct 2022 12:05:56 -0600 Subject: havent updated these in a while --- vim/.vimrc | 27 +++++++++++++++++++++++---- vim/coc-settings.json | 30 ++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 vim/coc-settings.json (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index 3130da0..ee8f046 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,6 +1,12 @@ +filetype plugin on +syntax enable +let g:vimtex_compiler_method = 'arara' +let maplocalleader = "\\" + set nocompatible let g:gruvbox_contrast_dark = 'soft' let g:gruvbox_termcolors = '16' +let g:python_recommended_style = 0 colorscheme gruvbox set ttymouse=sgr set number @@ -15,17 +21,30 @@ set wildmenu set scrolloff=5 set incsearch set ttimeout ttimeoutlen=25 -set clipboard=unnamedplus +"set clipboard=unnamedplus +set showtabline=2 +set undodir=~/.vim/undo-dir +set undofile " turn on spell checker for all markdown files autocmd FileType markdown setlocal spell - -execute pathogen#infect() +hi clear SpellBad +hi SpellBad cterm=underline +hi clear SpellRare +hi SpellRare cterm=underline +hi clear SpellCap +hi SpellCap cterm=underline +hi clear SpellLocal +hi SpellLocal cterm=underline call plug#begin() Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'jaxbot/semantic-highlight.vim' +Plug 'itchyny/lightline.vim' +Plug 'jceb/vim-orgmode' +Plug 'tpope/vim-speeddating' +Plug 'lervag/vimtex' call plug#end() @@ -40,7 +59,7 @@ function! s:check_back_space() abort return !col || getline('.')[col - 1] =~# '\s' endfunction -let s:semanticGUIColors = [ "#cc241d", "#98971a", "#d79921", "#458588", "#b16286", "#689d6a", "#928374", "#fb4934", "#b8bb26", "#fabd2f", "#83a598", "#d3869b", "#8ec07c", "#ebdbb2" ] +"let s:semanticGUIColors = [ "#cc241d", "#98971a", "#d79921", "#458588", "#b16286", "#689d6a", "#928374", "#fb4934", "#b8bb26", "#fabd2f", "#83a598", "#d3869b", "#8ec07c", "#ebdbb2" ] " stolen from https://shapeshed.com/vim-statuslines/ diff --git a/vim/coc-settings.json b/vim/coc-settings.json new file mode 100644 index 0000000..0c93cc3 --- /dev/null +++ b/vim/coc-settings.json @@ -0,0 +1,30 @@ +{ + "semanticTokens.filetypes": ["*"], + "suggest.completionItemKindLabels": { + "text": "t", + "method": "m", + "function": "" + }, + "java.home": "/usr/java/jdk-17.0.1", + "java.configuration.runtimes": [ + { + "name": "JavaSE-12", + "path": "/usr/java/jdk-12.0.2", + "default": true + }, + + { + "name": "JavaSE-16", + "path": "/usr/java/jdk-17.0.1" + } + ], + "java.referencesCodeLens.enabled": true, + "java.implementationsCodeLens.enabled": true, + "java.completion.enabled": true, + "perl": { + "enable": true, + "debugAdapterPort": "13604", + "logLevel": 1 + }, + "java.jdt.ls.vmargs": "-noverify -Xmx6G -XX:+UseG1GC -XX:+UseStringDeduplication" +} -- cgit v1.2.3