commit 87f462fadac8f4ab2d66ad518f66ccb0df392d8d
parent 06f0888d6ceb8f8a0b8ed73a5866e70bb223c145
Author: finwo <finwo@pm.me>
Date: Tue, 11 Apr 2023 11:14:10 +0200
Use builtin editorconfig support of neovim instead of plugin
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/neovim/home/.vimrc b/neovim/home/.vimrc
@@ -21,7 +21,6 @@ call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter'
Plug 'alvan/vim-closetag'
-Plug 'editorconfig/editorconfig-vim'
Plug 'itchyny/calendar.vim'
Plug 'jparise/vim-graphql'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
@@ -65,12 +64,14 @@ set nocompatible " be iMproved, required
filetype off " required
let mapleader = "\<space>" " leader is space
+
set smarttab " Smarter tabs
set tabstop=2 " Tabs = 2 columns
-set shiftwidth=2 "
-set shiftround "
+set shiftwidth=0 "
+set shiftround "
set expandtab " soft tabs
set encoding=utf-8 " enable unicode support
+let g:editorconfig = 1
set scrolloff=8 " keep 8 lines above/below cursor
set sidescroll=1 " enable horizontal scoll