aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-24 18:22:52 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-04-24 18:22:52 +0530
commit46141fa54b7a21d78282896bb70667dc25e49684 (patch)
tree7abfec618c41976940231e7741a36e503085cb2e /.config/nvim/init.vim
parent81808a6d71e561993608068d994c0615872d6c33 (diff)
fixed error when starting up startpage server
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r--.config/nvim/init.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index a0372fb..c75b61e 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -75,6 +75,16 @@ let g:Hexokinase_highlighters = ['virtual']
let g:vim_jsx_pretty_highlight_close_tag = 1
let g:vim_jsx_pretty_colorful_config = 1
+" for tab stop
+filetype plugin indent on
+" On pressing tab, insert 2 spaces
+set expandtab
+" show existing tab with 2 spaces width
+set tabstop=2
+set softtabstop=2
+" when indenting with '>', use 2 spaces width
+set shiftwidth=2
+
" set filetypes as typescriptreact
" augroup SyntaxSettings
" autocmd!