Created
September 4, 2021 04:49
-
-
Save hackorum/013897121dc97b85edc26526477b4b0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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