Final touch

This commit is contained in:
2025-09-02 14:01:17 +03:00
parent 200d0f6f0e
commit 594751ddb1
2 changed files with 6 additions and 3 deletions

2
.vimrc
View File

@@ -226,7 +226,7 @@ endfunction
autocmd BufRead,BufNewFile *.c,*.cpp,*.h,*.hpp call SetClangTidyConfig() autocmd BufRead,BufNewFile *.c,*.cpp,*.h,*.hpp call SetClangTidyConfig()
" Set this. Airline will handle the rest. " Set this. Airline will handle the rest.
let g:airline#extensions#ale#enabled = 1 " let g:airline#extensions#ale#enabled = 1
let g:airline_theme = 'dark' let g:airline_theme = 'dark'

View File

@@ -23,7 +23,8 @@ function settingUpVimrc {
# Installing the required packages for plugin. # Installing the required packages for plugin.
$user apt install universal-ctags -y $user apt install universal-ctags -y
$user apt install -y global $user apt install -y global
$user apt install -y clang-tidy
$user apt install -y clang-format
# Setting up the .vimrc # Setting up the .vimrc
VIMRC_LOCATION=$($user find $HOME/ .vimrc) VIMRC_LOCATION=$($user find $HOME/ .vimrc)
@@ -70,7 +71,9 @@ libpython3-dev ruby-dev lua5.2 liblua5.2-dev libperl-dev git
else else
mkdir $DIR mkdir $DIR
mkdir -p $DIR/share/vim/vim91 mkdir -p $DIR/share/vim/vim91
echo -e "\n\n\nalias vim=~/Vim" >> ~/.bashrc echo -e "\n\n\nalias vim=$DIR/bin/vim" >> ~/.bashrc
echo -e "\nexport VIMRUNTIME=$DIR/share/vim/vim91" >> ~/bashrc
echo -e "\nexport PATH=$DIR/bin:\$PATH" >> ~/.bashrc
source ~/.bashrc source ~/.bashrc
fi fi