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

View file

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