From 594751ddb1c2c20c82e875b7b90e4b5738124666 Mon Sep 17 00:00:00 2001 From: Junet Hossain Date: Tue, 2 Sep 2025 14:01:17 +0300 Subject: [PATCH] Final touch --- .vimrc | 2 +- env_setup.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index 4c11e7e..d2d3fff 100644 --- a/.vimrc +++ b/.vimrc @@ -226,7 +226,7 @@ endfunction autocmd BufRead,BufNewFile *.c,*.cpp,*.h,*.hpp call SetClangTidyConfig() " 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' diff --git a/env_setup.sh b/env_setup.sh index 0cb188f..77d39c3 100755 --- a/env_setup.sh +++ b/env_setup.sh @@ -23,7 +23,8 @@ function settingUpVimrc { # Installing the required packages for plugin. $user apt install universal-ctags -y $user apt install -y global - + $user apt install -y clang-tidy + $user apt install -y clang-format # Setting up the .vimrc VIMRC_LOCATION=$($user find $HOME/ .vimrc) @@ -70,7 +71,9 @@ libpython3-dev ruby-dev lua5.2 liblua5.2-dev libperl-dev git else mkdir $DIR 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 fi