Small fixes
This commit is contained in:
parent
9324661ac5
commit
82cbc247fa
1 changed files with 13 additions and 9 deletions
22
init.vim
22
init.vim
|
@ -1,10 +1,10 @@
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
|
||||||
" NERDTree stuff
|
" NERDTree stuff
|
||||||
Plug 'kyazdani42/nvim-web-devicons' " optional, for file icons
|
Plug 'nvim-tree/nvim-web-devicons' " optional, for file icons
|
||||||
Plug 'kyazdani42/nvim-tree.lua'
|
Plug 'nvim-tree/nvim-tree.lua'
|
||||||
|
|
||||||
" neovim lsp plugins and depencencies
|
" neovim lsp plugins and depencencies
|
||||||
Plug 'neovim/nvim-lspconfig'
|
Plug 'neovim/nvim-lspconfig'
|
||||||
Plug 'williamboman/mason.nvim'
|
Plug 'williamboman/mason.nvim'
|
||||||
Plug 'williamboman/mason-lspconfig.nvim'
|
Plug 'williamboman/mason-lspconfig.nvim'
|
||||||
|
@ -42,6 +42,11 @@ Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
" set termguicolors before lua config,
|
||||||
|
" as it can contain some theme stuff that
|
||||||
|
" checks for termguicolors
|
||||||
|
set termguicolors
|
||||||
|
|
||||||
" load main lua file with additional configs
|
" load main lua file with additional configs
|
||||||
lua require("general")
|
lua require("general")
|
||||||
|
|
||||||
|
@ -66,7 +71,6 @@ nnoremap <C-g> :CocCommand git.chunkInfo<CR>
|
||||||
|
|
||||||
"theme configuration
|
"theme configuration
|
||||||
syntax enable
|
syntax enable
|
||||||
set termguicolors
|
|
||||||
let g:onedark_config = {
|
let g:onedark_config = {
|
||||||
\ 'style': 'darker',
|
\ 'style': 'darker',
|
||||||
\}
|
\}
|
||||||
|
@ -176,12 +180,12 @@ endif
|
||||||
set modeline
|
set modeline
|
||||||
let g:sls_use_jinja_syntax = 1
|
let g:sls_use_jinja_syntax = 1
|
||||||
set encoding=UTF-8
|
set encoding=UTF-8
|
||||||
set showmatch " show matching
|
set showmatch " show matching
|
||||||
set ignorecase " case insensitive
|
set ignorecase " case insensitive
|
||||||
set mouse=v " middle-click paste with
|
set mouse=v " middle-click paste with
|
||||||
set hlsearch " highlight search
|
set hlsearch " highlight search
|
||||||
set incsearch " incremental search
|
set incsearch " incremental search
|
||||||
set tabstop=4 " number of columns occupied by a tab
|
set tabstop=4 " number of columns occupied by a tab
|
||||||
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing
|
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing
|
||||||
set expandtab " converts tabs to white space
|
set expandtab " converts tabs to white space
|
||||||
set shiftwidth=4 " width for autoindents
|
set shiftwidth=4 " width for autoindents
|
||||||
|
|
Loading…
Reference in a new issue