|
|
@ -63,6 +63,13 @@ augroup packer_user_config |
|
|
|
augroup end |
|
|
|
]]) |
|
|
|
|
|
|
|
-- Reopen file to last cursor position, if possible |
|
|
|
cmd([[ |
|
|
|
if has("autocmd") |
|
|
|
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif |
|
|
|
endif |
|
|
|
]]) |
|
|
|
|
|
|
|
cmd [[command! WhatHighlight :call util#syntax_stack()]] |
|
|
|
cmd [[command! PackerInstall packadd packer.nvim | lua require('plugins').install()]] |
|
|
|
cmd [[command! PackerUpdate packadd packer.nvim | lua require('plugins').update()]] |
|
|
|