Untitled

mail@pastecode.io avatar
unknown
plain_text
20 days ago
1.7 kB
2
Indexable
Never
set encoding=UTF-8
set termguicolors
set completeopt=menu,menuone,noselect " auto completete
set ignorecase
set number
set nowrap
set noswapfile
set backspace=indent,eol,start
set clipboard=unnamed
set list

" set listchars=eol:$,tab:__,trail:~,extends:>,precedes:< " FOR DEBUG
set expandtab
set tabstop=2
set shiftwidth=2
set softtabstop=0
autocmd FileType javascript setlocal ts=4 sts=4 sw=4 noexpandtab
autocmd FileType typescript setlocal ts=4 sts=4 sw=4 noexpandtab
autocmd FileType sql setlocal ts=2 sts=2 sw=2 noexpandtab
autocmd FileType go setlocal shiftwidth=4 tabstop=4 softtabstop=4 noexpandtab
autocmd FileType zig setlocal shiftwidth=4 tabstop=4 softtabstop=0 expandtab

" disable perl
let g:loaded_perl_provider = 0

" *** Plugin configurations ***
lua require('plugins')

" auto-complete + integrarte LSP
lua require('nvim-lspconfig-config')
lua require('nvim-cmp-config')
" non-LSP hook
lua require("null-ls-config")
" status bar
lua require('nvim-web-devicons').get_icons()
lua require('feline').setup()
" short cut open neotree
lua require('neo-tree-config')
" Git
lua require('gitsigns-config')
" Terminal
lua require("toggleterm-config")
" Fuzzysearch
lua require("telescope-config")
" Code highlighting
" lua require("nvim-treesitter-config")
" title bar decor
lua require("bufferline").setup()
" Tagbar
lua require('vista-config')
" Code Jumping
lua require('hop-config')
" exit insert mode quickly
let g:better_escape_shortcut = ['jk', 'kj']
" Case converter
lua require('textcase').setup()
" Setup shortcuts
lua require('shortcut-config')
" Rust
lua require('rust')

" *** Theme ***
set background=light
colorscheme PaperColor
Leave a Comment