nvim: treesitter: Enable Haskell

This commit is contained in:
Sanchayan Maity 2021-06-26 15:47:07 +05:30
parent 112239bd31
commit fff7723126
2 changed files with 3 additions and 5 deletions

View file

@ -85,9 +85,7 @@ local init = function ()
'whonore/Coqtail',
'jlapolla/vim-coq-plugin'
}
-- Haskell
use 'neovimhaskell/haskell-vim'
-- For C, Lua and Rust
-- treesitter based syntax highlighting
use {
'nvim-treesitter/nvim-treesitter-textobjects',
requires = { 'nvim-treesitter/nvim-treesitter' },
@ -98,7 +96,7 @@ local init = function ()
use 'lervag/vimtex'
use 'vim-pandoc/vim-pandoc'
use 'vim-pandoc/vim-pandoc-syntax'
-- Dhall & nix
-- Dhall
use 'vmchale/dhall-vim'
-- Other syntax highlighting support
use 'inkarkat/SyntaxAttr.vim'

View file

@ -1,5 +1,5 @@
require'nvim-treesitter.configs'.setup {
ensure_installed = { "bash", "c", "clojure", "cpp", "fennel", "fish", "java", "javascript", "jsdoc", "json", "lua", "nix", "python", "query", "rust", "toml" },
ensure_installed = { "bash", "c", "clojure", "cpp", "fennel", "fish", "haskell", "java", "javascript", "jsdoc", "json", "lua", "nix", "python", "query", "rust", "toml" },
highlight = { enable = true, },
textobjects = {
select = {