Add org mode

This commit is contained in:
Leon Grünewald 2022-10-04 11:23:33 +02:00
parent 0c2859a39d
commit a9f97569a5

View file

@ -4,6 +4,7 @@ lua << EOF
require("nvim-lsp-installer").setup {
automatic_installation = true
}
require('orgmode').setup_ts_grammar()
local nvim_lsp = require('lspconfig')
local lsp_extensions = require('lsp_extensions')
@ -34,6 +35,19 @@ require('colorizer').setup{}
require('feline').setup{}
require('bufferline').setup{}
require('nvim-treesitter.configs').setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = {'org'},
},
ensure_installed = {'org'},
}
require('orgmode').setup({
org_agenda_files = {'~/Documents/**/*'},
org_default_notes_file = '~/Sync/General/Dokumente/default.org',
})
local servers = { 'html', 'clangd', 'vimls', 'vuels', 'phpactor', 'rust_analyzer', 'rome', 'pyright', 'svelte', 'cssls', 'texlab'}
local on_attach = function (client, bufnr)