aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-10-21 19:37:31 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2019-10-21 19:37:31 +0200
commit871e60a857631687c94a0454b686b833413184ed (patch)
tree145e7910db4537becd7a36a03764b4172b4162eb /files
parent49001ae761d293dee5ea200de8eb152d7e9afb69 (diff)
downloadconfigs-871e60a857631687c94a0454b686b833413184ed.tar.gz
configs-871e60a857631687c94a0454b686b833413184ed.zip
Some .vimrc changes configuring omnisharp.
Diffstat (limited to 'files')
-rw-r--r--files/rcs/.vimrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/files/rcs/.vimrc b/files/rcs/.vimrc
index eed4714..6f6eeb8 100644
--- a/files/rcs/.vimrc
+++ b/files/rcs/.vimrc
@@ -11,6 +11,7 @@ let mapleader = ","
call plug#begin('~/.vim/plugged') "Update with PlugInstall
Plug 'PotatoesMaster/i3-vim-syntax'
Plug 'junegunn/goyo.vim'
+Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'vimwiki/vimwiki'
@@ -18,10 +19,11 @@ Plug 'suan/vim-instant-markdown'
Plug 'vim-airline/vim-airline'
Plug 'vim-syntastic/syntastic'
Plug 'Valloric/YouCompleteMe'
+Plug 'OmniSharp/omnisharp-vim'
call plug#end()
set nocompatible
-filetype plugin indent on
+filetype indent plugin on
set encoding=utf-8
set number relativenumber
set tabstop=4
@@ -70,13 +72,19 @@ nnoremap <leader>t :set list!<CR>
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
+let g:syntastic_cs_checkers = ['code_checker']
let g:syntastic_enable_signs = 1
-let g:systastic_aggregate_errors = 1
+let g:syntastic_aggregate_errors = 1
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 2
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
+" For omnisharp
+let g:OmniSharp_server_stdio = 1
+let g:OmniSharp_server_path = '/home/taamas/repos/omnisharp-roslyn/artifacts/scripts/OmniSharp.Stdio'
+let g:OmniSharp_selector_ui = 'fzf'
+
" For cursor shape with tmux
if exists('$TMUX')
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[5 q\<Esc>\\"