@@ -7,7 +7,7 @@ if exists('*minpac#init')
77 call minpac#add (' scrooloose/nerdcommenter' ) " Comment functions
88 call minpac#add (' xuyuanp/nerdtree-git-plugin' ) " Show git file statuses at nerdtree
99 call minpac#add (' ctrlpvim/ctrlp.vim' ) " Powerful fuzzy finder
10- call minpac#add (' vim-syntastic/syntastic' )
10+ " call minpac#add('vim-syntastic/syntastic')
1111 call minpac#add (' vim-airline/vim-airline' ) " Beautiful statusbar
1212 call minpac#add (' vim-airline/vim-airline-themes' ) " Themes for vim-airline
1313 " call minpac#add('jeetsukumaran/vim-buffergator') "Easy way to deal with buffers
@@ -39,6 +39,11 @@ if exists('*minpac#init')
3939 call minpac#add (' janko-m/vim-test' ) " Wrapper for running tests
4040 call minpac#add (' sheerun/vim-polyglot' ) " A collection of language packs for Vim.
4141 call minpac#add (' natebosch/vim-lsc' ) " Vim Language Server Client
42+
43+ " Google Code Fmt
44+ call minpac#add (' google/vim-maktaba' ) " Utility for syntax-aware code formatting.
45+ call minpac#add (' google/vim-codefmt' ) " Utility for syntax-aware code formatting.
46+ call minpac#add (' google/vim-glaive' ) " Used to configure codefmt's maktaba flags
4247 " call minpac#add('dense-analysis/ale') " Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP)
4348
4449 " Ruby
@@ -53,7 +58,7 @@ if exists('*minpac#init')
5358 " Javascript
5459 call minpac#add (' pangloss/vim-javascript' )
5560 call minpac#add (' maksimr/vim-jsbeautify' ) " Allows use of jsbeautifier
56- call minpac#add (' maxmellon/vim-jsx-pretty' ) " Syntax highlighting and indenting for JSX
61+ " call minpac#add('maxmellon/vim-jsx-pretty') " Syntax highlighting and indenting for JSX
5762 " call minpac#add('leshill/vim-json') " Improves the syntax highlighing for JSON files
5863
5964 " Flutter
@@ -101,15 +106,15 @@ let g:airline#extensions#tabline#enabled = 1 " Enable the list of buffers
101106let g: airline #extensions#tabline #fnamemod = ' :t' " Show just the filename
102107
103108" Syntastic Configurations
104- set statusline += % #warningmsg #
105- set statusline += % {SyntasticStatuslineFlag ()}
106- set statusline += %*
107- let g: syntastic_always_populate_loc_list = 1
108- let g: syntastic_auto_loc_list = 1
109- let g: syntastic_check_on_open = 1
110- let g: syntastic_check_on_wq = 0
111- nmap <leader> st :SyntasticToggleMode<cr> " Enable and disable syntastic
112- nmap <leader> sc :SyntasticCheck<cr> " Check syntax
109+ " set statusline+=%#warningmsg#
110+ " set statusline+=%{SyntasticStatuslineFlag()}
111+ " set statusline+=%*
112+ " let g:syntastic_always_populate_loc_list = 1
113+ " let g:syntastic_auto_loc_list = 1
114+ " let g:syntastic_check_on_open = 1
115+ " let g:syntastic_check_on_wq = 0
116+ " nmap <leader>st :SyntasticToggleMode<cr> " Enable and disable syntastic
117+ " nmap <leader>sc :SyntasticCheck<cr> " Check syntax
113118
114119" EditorConfig Configurations
115120let g: EditorConfig_exclude_patterns = [' fugitive://.*' ] " plugin works well with Tim Pope's fugitive plugin
@@ -134,6 +139,10 @@ let g:javascript_conceal_noarg_arrow_function = "🞅"
134139let g: javascript_conceal_underscore_arrow_function = " 🞅"
135140nmap <leader> jf :call JsBeautify()<cr> " Formart Javascript Files
136141
142+ " Vim Code Fmt
143+ nmap <leader> fl :FormatLines<cr> " Format Lines
144+ nmap <leader> fc :FormatCode<cr> " Formtat Code
145+
137146" Vim JSX Configurations
138147let g: vim_jsx_pretty_colorful_config = 10
139148
0 commit comments