chore(NVIM): Added orgmode and change iskeyword definition

This commit is contained in:
Afonso Franco 2024-02-12 15:05:56 +00:00
parent d8ac1917fb
commit 531e92ef74
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
6 changed files with 128 additions and 7 deletions

View file

@ -1,19 +1,23 @@
local present, treesitter = pcall(require, "nvim-treesitter.configs")
require('nvim-treesitter.install').update({ with_sync = true })
if not present then
return
end
require('nvim-treesitter.install').update({ with_sync = true })
local present, orgmode = pcall(require, "orgmode")
if present then
require('orgmode').setup_ts_grammar()
end
local options = {
ensure_installed = { "c", "lua", "haskell", "rust", "markdown", "org"},
ensure_installed = { "c", "lua", "haskell", "rust", "markdown", "org" },
highlight = {
enable = true,
use_languagetree = true,
additional_vim_regex_highlighting = {"org"},
additional_vim_regex_highlighting = { "org" },
},
indent = {
enable = true,