From: Stefan Huber Date: Mon, 8 Jan 2024 14:30:55 +0000 (+0100) Subject: plugins: Change easychair2 url X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=commitdiff_plain;h=HEAD;hp=7f03b58f61d8ceb0eb1bb9292c28c93345d88ad1 plugins: Change easychair2 url --- diff --git a/gvimrc b/gvimrc index 1956f8b..3782ff8 100644 --- a/gvimrc +++ b/gvimrc @@ -1,6 +1,6 @@ set columns=100 set lines=53 -set guifont=Hack\ NF\ 9,Hack\ 9,Liberation\ Mono\ for\ Powerline\ 10,DejaVu\ Sans\ Mono\ 10,Monospace\ 10 +set guifont=JetBrainsMono\ NF\ 9,Hack\ NF\ 9,Hack\ 9,DejaVu\ Sans\ Mono\ 10,Monospace\ 10 set mousehide diff --git a/init.vim b/init.vim index 374c3ba..9700a32 100644 --- a/init.vim +++ b/init.vim @@ -16,6 +16,9 @@ set fillchars=vert:│,fold:\ set listchars=tab:»­,trail:·,eol:$ set virtualedit=block +" use filetype.lua and do not use filetype.vim for >=neovim-0.7.2 +let g:do_filetype_lua = 1 +let g:did_load_filetypes = 0 filetype plugin indent on set tabstop=4 @@ -40,6 +43,10 @@ set showcmd set tabpagemax=100 +if has('nvim-0.7') + set laststatus=3 +endif + syntax on if filereadable($HOME . '/.vim/lowendbox') diff --git a/install.sh b/install.sh index d50c6d9..4d7ec01 100755 --- a/install.sh +++ b/install.sh @@ -51,6 +51,7 @@ check_requirements() check_prog curl check_prog git check_vim +python3 + check_vim +lua check_py3 neovim check_font "Hack NF" } @@ -83,7 +84,7 @@ start the plugin provided colorscheme is not available yet. Add this line to your shell configuration, e.g., ~/.profile, to use vim as man pager: - export MANPAGER=\"view -c MANPAGER -\" + export MANPAGER=\"vi -c ASMANPAGER -\" EOF } diff --git a/neosnippets/gitcommit.snip b/neosnippets/gitcommit.snip index ed9ffe3..dc6106c 100644 --- a/neosnippets/gitcommit.snip +++ b/neosnippets/gitcommit.snip @@ -17,3 +17,7 @@ options head snippet acked-by options head Acked-by: ${1:authorname } +snippet Ste-sthu + Stefan Huber +snippet Ste-fhs + Stefan Huber diff --git a/plugins-noroot-nolowendbox.vim b/plugins-noroot-nolowendbox.vim index 32df579..f442a5d 100644 --- a/plugins-noroot-nolowendbox.vim +++ b/plugins-noroot-nolowendbox.vim @@ -21,7 +21,9 @@ Plug 'justmao945/vim-clang', {'for': ['c', 'cpp', 'objc']} " Prevent slow foling update, e.g., for vimtex Plug 'Konfekt/FastFold' -Plug 'lervag/vimtex', {'for': 'tex'} +Plug 'lervag/vimtex' + +Plug 'shuber2/vim-syntax-easychair2' Plug 'mhinz/vim-signify' Plug 'tpope/vim-fugitive' @@ -56,8 +58,15 @@ Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'} Plug 'sheerun/vim-polyglot' +" neovim-0.4 has troubles with nvim-treesitter if has('nvim-0.5') - Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} + " neovim-0.7 works until v0.8.0 + if has('nvim-0.9') + Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} + else + Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate', 'tag': 'v0.8.0'} + endif + Plug 'nvim-treesitter/nvim-treesitter-refactor', {'do': ':TSUpdate'} endif @@ -175,8 +184,8 @@ function PluginsNorootNolowendboxConfig() lua <