Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use together with DoxygenToolkit.vim #39

Open
0x8f701 opened this issue Mar 24, 2019 · 2 comments
Open

can't use together with DoxygenToolkit.vim #39

0x8f701 opened this issue Mar 24, 2019 · 2 comments

Comments

@0x8f701
Copy link

0x8f701 commented Mar 24, 2019

No description provided.

@0x8f701
Copy link
Author

0x8f701 commented Mar 24, 2019

strange behavior observed when use it with DoxygenToolkit.vim

it crashs or block there, or error message.

If I comment DoxygenToolkit.vim everything is fine

any idea?

@0x8f701
Copy link
Author

0x8f701 commented Mar 24, 2019

vimrc

set nu
set nocompatible

set autochdir

set number
set relativenumber

set ruler
set showcmd
set showmode

set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
set softtabstop=4

set nowrap
set nobackup
set noswapfile

set autoindent
set smartindent

set autoread
set so=7
set wildmenu

set magic

set lazyredraw

set noerrorbells
set novisualbell
set t_vb=
set tm=500

set viminfo=

set confirm

set ignorecase
set incsearch

set backspace=indent,eol,start
set formatoptions=tcqro

let g:solarized_termcolors=256
syntax enable
set background=dark
colorscheme solarized

nnoremap hs        <C-W>v
nnoremap vs        <C-W>s
nnoremap ss        <C-W>c

nnoremap <C-L>     <C-W>l
nnoremap <C-K>     <C-W>k
nnoremap <C-J>     <C-W>j
nnoremap <C-H>     <C-W>h

nnoremap <C-T>     :tabnew<CR>
nnoremap <C-W>     :tabc<CR>
nnoremap <C-Left>  :tabp<CR>
nnoremap <C-Right> :tabn<CR>

nnoremap <C-A>     ggVG$

nnoremap <F6>      :tabnew .<CR>

nnoremap c         "_c

nnoremap pw        viwp
nnoremap p{        vi{p
nnoremap p(        vi(p
nnoremap p'        vi'p
nnoremap p"        vi"p

set fdm=indent

call plug#begin()

Plug 'mattn/emmet-vim'
Plug 'tpope/vim-repeat'
Plug 'ervandew/supertab'
Plug 'majutsushi/tagbar'
Plug 'rust-lang/rust.vim'
Plug 'altercation/vim-colors-solarized'
Plug 'scrooloose/nerdtree'
Plug 'itchyny/lightline.vim'
Plug 'posva/vim-vue'
Plug 'leafgarland/typescript-vim'
Plug 'Valloric/YouCompleteMe'
"cd ~/.vim/plugged && python3 install.py --rust-completer --go-completer --ts-completer --clangd-completer
Plug 'racer-rust/vim-racer'
Plug 'jremmen/vim-ripgrep'
Plug 'editorconfig/editorconfig-vim'
Plug 'tpope/vim-fugitive'
" Plug 'vim-scripts/DoxygenToolkit.vim'
Plug 'Chiel92/vim-autoformat'
Plug 'mattn/webapi-vim'
Plug 'godlygeek/tabular'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-surround'
Plug 'mattn/gist-vim'
Plug 'terryma/vim-expand-region'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' }
Plug 'junegunn/goyo.vim'
Plug 'junegunn/limelight.vim'
Plug 'w0rp/ale'
Plug 'luochen1990/rainbow'


call plug#end()

"NERDTree
map <C-N> :NERDTreeToggle<CR>
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif

"LightLine
set laststatus=2

"TagBar
"sudo apt install ctags
nnoremap <F8> :TagbarToggle<CR>
set tags=./tags,tags;$HOME

"DoxygenToolkit
" nnoremap <C-M>     :Dox<CR>

" let g:DoxygenToolkit_briefTag_funcName = "yes"

" let g:DoxygenToolkit_briefTag_pre = "@brief "
" let g:DoxygenToolkit_paramTag_pre = "@param "
" let g:DoxygenToolkit_returnTag = "@return "
" let g:DoxygenToolkit_throwTag_pre = "@throw "
" let g:DoxygenToolkit_fileTag = "@file "
" let g:DoxygenToolkit_dateTag = "@date "
" let g:DoxygenToolkit_authorTag = "@author "
" let g:DoxygenToolkit_versionTag = "@version "
" let g:DoxygenToolkit_blockTag = "@name "
" let g:DoxygenToolkit_classTag = "@class "
" let g:DoxygenToolkit_authorName = "Cheng JIANG <[email protected]>"
" let g:doxygen_enhanced_color = 1

"Autoformat
nnoremap <F12>     :Autoformat<CR>
"au BufWrite * :Autoformat
" sudo apt-get install tidy
" sudo npm install -g typescript-formatter
" sudo npm install -g js-beautify
" sudo npm install -g xo
" sudo gem install sass

"rust-vim
let g:rust_clip_command = 'xclip -selection clipboard'

"vim-racer
" cargo +nightly install racer
set hidden
let g:racer_cmd = "~/.cargo/bin/racer"
let g:racer_experimental_completer = 1
let g:racer_experimental_completer = 1
au FileType rust nmap gd <Plug>(rust-def)
au FileType rust nmap gs <Plug>(rust-def-split)
au FileType rust nmap gx <Plug>(rust-def-vertical)
au FileType rust nmap <leader>gd <Plug>(rust-doc)

"editorconfig-vim
let g:EditorConfig_exec_path = '/usr/bin/editorconfig'

"rainbow
let g:rainbow_active = 1

"LSP
" rustup update
" rustup component add rls rust-analysis rust-src
let g:LanguageClient_serverCommands = { 'rust': ['~/.cargo/bin/rustup', 'run', 'nightly', 'rls'] }
nnoremap <silent> <F2> :call LanguageClient#textDocument_rename()<CR>
nnoremap <silent> K :call LanguageClient#textDocument_hover()<CR>
nnoremap <F5> :call LanguageClient_contextMenu()<CR>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant