Created
February 18, 2022 22:31
-
-
Save ajitid/d80093d68962cc67e0c7659d0eaffcc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin() | |
Plug 'theHamsta/nvim-treesitter', {'branch': 'ecma-auto-comment', 'do': ':TSUpdate'} | |
call plug#end() | |
set fillchars=eob:\ , | |
set shm+=Ic | |
set noswapfile | |
set lazyredraw | |
set modelines=0 | |
set number relativenumber | |
nnoremap ; : | |
nnoremap , ; | |
vnoremap ; : | |
vnoremap , ; | |
if has('termguicolors') | |
set termguicolors | |
endif | |
lua <<EOF | |
local ts = require'nvim-treesitter.configs' | |
ts.setup { | |
ensure_installed = "maintained", | |
highlight = { | |
enable = true, | |
}, | |
} | |
EOF | |
augroup filetype_based_indentation | |
autocmd! | |
autocmd VimEnter * set tabstop=2 softtabstop=2 shiftwidth=2 expandtab | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment