Skip to content

Instantly share code, notes, and snippets.

@hackorum
Created September 4, 2021 04:49
Show Gist options
  • Save hackorum/013897121dc97b85edc26526477b4b0d to your computer and use it in GitHub Desktop.
Save hackorum/013897121dc97b85edc26526477b4b0d to your computer and use it in GitHub Desktop.
require('packer').startup(function()
use 'wbthomason/packer.nvim'
use {'dracula/vim', as = 'dracula'}
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
event = 'BufWinEnter', -- BufRead doesn't work
config = function()
return require'nvim-treesitter.configs'.setup {
ensure_installed = {"javascript", "html", "lua"},
highlight = {enable = true},
autotag = {enable = true},
rainbow = {enable = true}
}
end
}
use {'windwp/nvim-ts-autotag', after = 'nvim-treesitter'}
use {'p00f/nvim-ts-rainbow', after = 'nvim-treesitter'}
end)
vim.o.termguicolors = true
vim.cmd('colorscheme dracula')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment