This commit is contained in:
2022-07-28 00:13:09 +08:00
parent d07f8f78e1
commit eadc5b4c75
8 changed files with 957 additions and 67 deletions

6
vimrc
View File

@@ -4,6 +4,8 @@
set shortmess+=A
let g:pymode_python = 'python3'
let g:python_host_prog = '/usr/bin/python2'
let g:python3_host_prog = '/usr/bin/python3'
" plugin stuff
filetype plugin on
@@ -28,6 +30,7 @@ endif
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
let s:toml = $HOME . '/.vim/plugins.toml'
let g:dein#lazy_rplugins = v:false
" Required:
if dein#load_state($HOME . '/.cache/dein')
call dein#begin($HOME . '/.cache/dein', [$HOME . '/.vim/vimrc', $HOME . '/.vim/plugins.toml'])
@@ -67,6 +70,7 @@ call CmdAlias('Nf', 'Neoformat')
call CmdAlias('NF', 'Neoformat')
call CmdAlias('nf', 'Neoformat')
call CmdAlias('LS', 'LanguageClientStart')
call CmdAlias('LspLog', 'lua vim.cmd("e"..vim.lsp.get_log_path())<CR>')
@@ -278,5 +282,7 @@ endfunction
set title
autocmd BufEnter * set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:~:h\")})%)%(\ %a%)
" vim:foldmethod=marker:foldlevel=0