You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.5 KiB
VimL
86 lines
1.5 KiB
VimL
set relativenumber
|
|
set nu
|
|
set hidden
|
|
set incsearch
|
|
set scrolloff=6
|
|
set termguicolors
|
|
set shiftwidth=4
|
|
set tabstop=2
|
|
set softtabstop=2
|
|
syntax enable
|
|
set clipboard+=unnamedplus
|
|
filetype plugin indent on
|
|
set signcolumn=yes
|
|
set expandtab
|
|
set cursorline
|
|
set nowrap
|
|
|
|
set completeopt=menuone,noinsert,noselect
|
|
set shortmess+=c
|
|
|
|
call plug#begin('~/.vim/plugged')
|
|
|
|
" LSP and suggestions
|
|
Plug 'neovim/nvim-lspconfig'
|
|
Plug 'neovim/nvim-lsp'
|
|
Plug 'airblade/vim-rooter'
|
|
|
|
Plug 'hrsh7th/cmp-nvim-lsp'
|
|
Plug 'hrsh7th/cmp-buffer'
|
|
Plug 'hrsh7th/cmp-path'
|
|
Plug 'hrsh7th/cmp-cmdline'
|
|
Plug 'hrsh7th/nvim-cmp'
|
|
Plug 'hrsh7th/cmp-vsnip'
|
|
Plug 'hrsh7th/vim-vsnip'
|
|
Plug 'hrsh7th/cmp-calc'
|
|
Plug 'hrsh7th/cmp-nvim-lsp-signature-help'
|
|
Plug 'hrsh7th/cmp-nvim-lsp-document-symbol'
|
|
|
|
" Git
|
|
Plug 'tpope/vim-fugitive'
|
|
|
|
" Kotlin
|
|
Plug 'udalov/kotlin-vim'
|
|
|
|
" Java
|
|
Plug 'mfussenegger/nvim-jdtls'
|
|
|
|
" C#
|
|
Plug 'OmniSharp/omnisharp-vim'
|
|
|
|
" Themes
|
|
Plug 'phanviet/vim-monokai-pro'
|
|
Plug 'morhetz/gruvbox'
|
|
|
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
|
|
|
" fzf
|
|
Plug 'junegunn/fzf', {'do': {-> fzf#install()}}
|
|
Plug 'junegunn/fzf.vim'
|
|
|
|
" Nerd
|
|
Plug 'preservim/nerdcommenter'
|
|
Plug 'preservim/nerdtree'
|
|
|
|
" Lualine
|
|
Plug 'nvim-lualine/lualine.nvim'
|
|
|
|
call plug#end()
|
|
|
|
" Importing vim files
|
|
source ~/.config/nvim/vim/keybinds.vim
|
|
|
|
" Importing lua files
|
|
luafile ~/.config/nvim/lua/completion.lua
|
|
luafile ~/.config/nvim/lua/line.lua
|
|
luafile ~/.config/nvim/lua/treesitter.lua
|
|
|
|
" Set the colour scheme
|
|
colorscheme gruvbox
|
|
|
|
" Allows for transparency
|
|
highlight Normal guibg=none
|
|
highlight EndOfBuffer guibg=none
|
|
|
|
|