feat(treesitter): add additional languages to install list

This commit is contained in:
Matt Leong 2021-12-14 15:08:23 -08:00
parent 77e82698a3
commit d993631e76
2 changed files with 12 additions and 8 deletions

View file

@ -10,9 +10,6 @@ config.statusline = {
main_icon = '',
}
-- See :h nvim-treesitter-quickstart
config.treesitter = {}
-- theming, don't forget to run :CosmicReloadSync when changing themes
-- 'catppuccin'
-- 'dracula'
@ -75,6 +72,9 @@ config.cosmic_ui = {
-- See https://github.com/folke/todo-comments.nvim#%EF%B8%8F-configuration
config.todo_comments = {}
-- See :h nvim-treesitter-quickstart
config.treesitter = {}
-- See :h notify.setup
config.notify = {}

View file

@ -2,14 +2,18 @@ local config = require('cosmic.config')
local defaults = {
ensure_installed = {
'typescript',
'javascript',
'tsx',
'html',
'css',
'lua',
'html',
'javascript',
'jsdoc',
'json',
'lua',
'markdown',
'php',
'python',
'scss',
'tsx',
'typescript',
},
highlight = {
enable = true,