You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having trouble getting my vim to look like the demo. I tried the demo config and nothings changed. I think highlighting is working along with auto completion and I think lint is working.
System:
Mac OS M2 Max
VIM:
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Apr 15 2023 04:26:46)
macOS version - arm64
Included patches: 1-1424
Compiled by root@apple.com
.vimrc:
vnoremap <C-c> :w !pbcopy<CR><CR>
noremap <C-v> :r !pbpaste<CR><CR>
nnoremap <C-n> :NERDTree<CR>
" Use tab for trigger completion with characters ahead and navigate
" NOTE: There's always complete item selected by default, you may want to enable
" no select by `"suggest.noselect": true` in your configuration file
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
" other plugin before putting this into your config
inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1) :
\ CheckBackspace() ? "\<Tab>" :
\ coc#refresh()
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
" Make <CR> to accept selected completion item or notify coc.nvim to format
" <C-g>u breaks current undo, please make your own choice
inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
function! CheckBackspace() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
call plug#begin()
" Polyglot is Syntax highlighting
Plug 'sheerun/vim-polyglot'
" Code Completion
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Side Bar
Plug 'preservim/nerdtree'
" ColorScheme
Plug 'NLKNguyen/papercolor-theme'
" Bottom Bar
Plug 'vim-airline/vim-airline'
Plug 'pangloss/vim-javascript'
Plug 'leafgarland/typescript-vim'
Plug 'peitalin/vim-jsx-typescript'
Plug 'OmniSharp/omnisharp-vim'
Plug 'dense-analysis/ale'
Plug 'nickspoons/vim-sharpenup'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
call plug#end()
set number
set background=dark
colorscheme PaperColor
set mouse=a
command! -nargs=0 Prettier :CocCommand prettier.forceFormatDocument
let g:OmniSharp_server_display_loading = 1
let g:OmniSharp_server_use_net6 = 1
let g:OmniSharp_loglevel = 'debug'
let g:ale_linters = { 'cs': ['OmniSharp'] }
The above vimrc is without all the stuff from the example config and is what the below video is showing. There is no change when using the example config.
The text was updated successfully, but these errors were encountered:
The popups don't open automatically. You can put the cursor on a variable or method or whatever and do :OmniSharpDocumentation (\osd is the default vim-sharpenup mapping), or inside a method call argument list and do :OmniSharpSignatureHelp (<C-\> with vim-sharpenup in normal and insert modes), either of those will open a popup.
For the completion documentation popup, that opens when you navigate through the completion options, not as you type. So with your config it looks like you'd use <Tab> to scroll through the completion options, or the standard vim <C-n>/<C-p>.
I am having trouble getting my vim to look like the demo. I tried the demo config and nothings changed. I think highlighting is working along with auto completion and I think lint is working.
System:
Mac OS M2 Max
VIM:
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Apr 15 2023 04:26:46)
macOS version - arm64
Included patches: 1-1424
Compiled by root@apple.com
.vimrc:
The above vimrc is without all the stuff from the example config and is what the below video is showing. There is no change when using the example config.
The text was updated successfully, but these errors were encountered: