Merge branch 'master' of git.yorune.pl:y0rune/myhome

This commit is contained in:
2022-11-28 08:20:17 +01:00
committed by Marcin Woźniak
7 changed files with 1661 additions and 1001 deletions

View File

@ -142,7 +142,8 @@ call plug#begin('~/.config/nvim/plugged')
Plug 'sbdchd/neoformat'
Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/nvim-vsnip'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/vim-vsnip-integ'
" Telescope
Plug 'nvim-lua/plenary.nvim'
@ -604,6 +605,9 @@ au BufNewFile,BufRead *.conf setfiletype conf
" Mikrotik
au BufNewFile,BufRead *.mikrotik setfiletype routeros
" Ebuild
au BufNewFile,BufRead,BufWritePre *.ebuild let g:shfmt_extra_args = '-ci -sr -s'
" Automatically deletes all trailing whitespace and newlines at end of file on save.
autocmd BufWritePre * %s/\s\+$//e
autocmd BufWritepre * %s/\n\+\%$//e

View File

@ -20,6 +20,10 @@ function update_pip() {
python3 -m pip install --upgrade pip --user
}
function install_neovim_module_for_python() {
pip3 install neovim --pre --user --force
}
function install_pyright() {
# Install pyright
sudo npm -g i pyright --force
@ -53,7 +57,7 @@ function install_gopls() {
function install_black() {
# Install black
pip3 install black --user --force
pip3 install black --pre --user --force
}
function install_ansible() {