I'm using the plugin 'nvim-treesitter/nvim-treesitter'
, and I can enable syntax highlighting by using the command:
:TSEnable highlight
However, once I close n/vim it reverts back to disabled. I'm using a .vim file for my profile but can't seem to find out how to set it.
" PLUGINS
call plug#begin()
Plug 'fatih/vim-go'
Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'} " Code completion++
Plug 'preservim/nerdtree' " File explorer
Plug 'vim-airline/vim-airline' " Status bar feature
Plug 'vim-airline/vim-airline-themes'
Plug 'preservim/tagbar' " Tagbar for code navigation
Plug 'jiangmiao/auto-pairs'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'mhartington/oceanic-next' " Theme
Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons
call plug#end()
" THEME SETTINGS
set t_Co=256
set background=dark
colorscheme OceanicNext
let g:oceanic_next_terminal_bold = 1
let g:oceanic_next_terminal_italic = 1
syntax on