소스 검색

Configure delimitmate to ignore Rust lifetime specifiers

Frans Bergman 5 년 전
부모
커밋
7fb58878ef
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .config/nvim/init.vim

+ 1 - 0
.config/nvim/init.vim

@@ -119,6 +119,7 @@ call plug#end()
 augroup rust
     autocmd!
     autocmd FileType rust au BufWrite * :Autoformat
+    autocmd FileType rust let b:delimitMate_smart_quotes='\%(\w\|[^[:punct:][:space:]]\|\%(\\\\\)*\\\)\%#\|\%#\%(\w\|[^[:space:][:punct:]]\)\|\<\%#\|\&\%#'
 augroup END
 call neomake#configure#automake('nrwi', 500)
 let g:completor_racer_binary = '~/.cargo/bin/racer'