nvim: treesitter: Enable Haskell
This commit is contained in:
parent
112239bd31
commit
fff7723126
2 changed files with 3 additions and 5 deletions
|
@ -85,9 +85,7 @@ local init = function ()
|
||||||
'whonore/Coqtail',
|
'whonore/Coqtail',
|
||||||
'jlapolla/vim-coq-plugin'
|
'jlapolla/vim-coq-plugin'
|
||||||
}
|
}
|
||||||
-- Haskell
|
-- treesitter based syntax highlighting
|
||||||
use 'neovimhaskell/haskell-vim'
|
|
||||||
-- For C, Lua and Rust
|
|
||||||
use {
|
use {
|
||||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||||
requires = { 'nvim-treesitter/nvim-treesitter' },
|
requires = { 'nvim-treesitter/nvim-treesitter' },
|
||||||
|
@ -98,7 +96,7 @@ local init = function ()
|
||||||
use 'lervag/vimtex'
|
use 'lervag/vimtex'
|
||||||
use 'vim-pandoc/vim-pandoc'
|
use 'vim-pandoc/vim-pandoc'
|
||||||
use 'vim-pandoc/vim-pandoc-syntax'
|
use 'vim-pandoc/vim-pandoc-syntax'
|
||||||
-- Dhall & nix
|
-- Dhall
|
||||||
use 'vmchale/dhall-vim'
|
use 'vmchale/dhall-vim'
|
||||||
-- Other syntax highlighting support
|
-- Other syntax highlighting support
|
||||||
use 'inkarkat/SyntaxAttr.vim'
|
use 'inkarkat/SyntaxAttr.vim'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require'nvim-treesitter.configs'.setup {
|
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, },
|
highlight = { enable = true, },
|
||||||
textobjects = {
|
textobjects = {
|
||||||
select = {
|
select = {
|
||||||
|
|
Loading…
Reference in a new issue