Add org mode
This commit is contained in:
parent
0c2859a39d
commit
a9f97569a5
1 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,7 @@ lua << EOF
|
||||||
require("nvim-lsp-installer").setup {
|
require("nvim-lsp-installer").setup {
|
||||||
automatic_installation = true
|
automatic_installation = true
|
||||||
}
|
}
|
||||||
|
require('orgmode').setup_ts_grammar()
|
||||||
|
|
||||||
local nvim_lsp = require('lspconfig')
|
local nvim_lsp = require('lspconfig')
|
||||||
local lsp_extensions = require('lsp_extensions')
|
local lsp_extensions = require('lsp_extensions')
|
||||||
|
@ -34,6 +35,19 @@ require('colorizer').setup{}
|
||||||
require('feline').setup{}
|
require('feline').setup{}
|
||||||
require('bufferline').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 servers = { 'html', 'clangd', 'vimls', 'vuels', 'phpactor', 'rust_analyzer', 'rome', 'pyright', 'svelte', 'cssls', 'texlab'}
|
||||||
|
|
||||||
local on_attach = function (client, bufnr)
|
local on_attach = function (client, bufnr)
|
||||||
|
|
Loading…
Reference in a new issue