I am wondering why vim highlights "man" pattern.
When I do a word search with /, it disapears.
Here is my vimrc file:
" Disable default bottomline
set noruler
set noshowcmd
set noshowmode
" no swp file
set noswapfile
" Plugins
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-vinegar'
Plug 'itchyny/lightline.vim'
Plug 'sainnhe/sonokai'
Plug 'tpope/vim-dispatch'
call plug#end()
" Turn on syntax highlighting
" syntax on
" Show line numbers
set number
" Encoding
set encoding=utf-8
" Setup lightline
set laststatus=2
set statusline=helloworld
let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'FugitiveHead'
\ },
\ }
" Color sheme setup
if has('termguicolors')
set termguicolors
endif
" The configuration options should be placed before `colorscheme sonokai`.
let g:sonokai_style = 'andromeda'
let g:sonokai_enable_italic = 1
let g:sonokai_disable_italic_comment = 1
colorscheme sonokai
" python syntax setup
au BufNewFile,BufRead *.py
\ set tabstop=4 |
\ set softtabstop=4 |
\ set shiftwidth=4 |
\ set textwidth=79 |
\ set expandtab |
\ set autoindent |
\ set fileformat=unix |