Add other languages on Treesitter for Phoenix development (#8)
This commit is contained in:
parent
4a8ed09d1f
commit
270aacae8e
19
init.lua
19
init.lua
|
@ -280,7 +280,24 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
|
|||
-- See `:help nvim-treesitter`
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Add languages to be installed here that you want installed for treesitter
|
||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vim', 'elixir', 'ruby' },
|
||||
ensure_installed = {
|
||||
'c',
|
||||
'cpp',
|
||||
'go',
|
||||
'lua',
|
||||
'python',
|
||||
'rust',
|
||||
'tsx',
|
||||
'typescript',
|
||||
'vim',
|
||||
'ruby',
|
||||
'erlang',
|
||||
'elixir',
|
||||
'eex',
|
||||
'heex',
|
||||
'html',
|
||||
'css'
|
||||
},
|
||||
|
||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||
auto_install = false,
|
||||
|
|
Loading…
Reference in New Issue