1
0
Fork 0

Add orgmode plugin

This commit is contained in:
Daniele Tricoli 2021-12-06 19:25:23 +01:00
parent de5300de4a
commit b7a743d340
4 changed files with 21 additions and 0 deletions

View file

@ -1,5 +1,19 @@
-- For orgmode.
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
parser_config.org = {
install_info = {
url = 'https://github.com/milisims/tree-sitter-org',
revision = 'main',
files = {'src/parser.c', 'src/scanner.cc'},
},
filetype = 'org',
}
require('nvim-treesitter.configs').setup {
highlight = {
enable = true,
disable = {'org'},
additional_vim_regex_highlighting = {'org'},
},
ensure_installed = {'org'},
}

View file

@ -0,0 +1 @@
require('orgmode').setup{}

View file

@ -105,6 +105,11 @@ return require('packer').startup({function()
use 'editorconfig/editorconfig-vim'
use {
'nvim-orgmode/orgmode',
config = [[require('plugins.orgmode')]]
}
-- Themes
use 'bluz71/vim-moonfly-colors'
use 'folke/tokyonight.nvim'

View file

@ -57,6 +57,7 @@
- nvim-cmp.lua
- nvim-tree.lua
- nvim-treesitter.lua
- orgmode.lua
- packer.lua
- sayonara.lua
- telescope.lua