Skip to content

Commit

Permalink
Enable treesitter-based highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
zsiciarz committed Oct 16, 2021
1 parent e9494b1 commit 1144db6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ require 'plugins'
require 'options'
require 'autocomplete'
require 'maps'
require 'treesitter_config'

-- Misc
-- ====
Expand Down
1 change: 1 addition & 0 deletions nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ return require('packer').startup(function()
use 'vim-airline/vim-airline'
use 'vim-airline/vim-airline-themes'
-- TODO: 'edkolev/tmuxline.vim'
use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' }
use 'vim-test/vim-test'
use 'hrsh7th/nvim-compe'
-- Color scheme
Expand Down
6 changes: 6 additions & 0 deletions nvim/lua/treesitter_config.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require('nvim-treesitter.configs').setup {
ensure_installed = 'maintained',
highlight = {
enable = true
}
}

0 comments on commit 1144db6

Please sign in to comment.