diff options
-rw-r--r-- | fnl/config/autocmd.fnl | 2 | ||||
-rw-r--r-- | fnl/config/orgmode.fnl | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index d344015..911d8dc 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -24,6 +24,6 @@ (autocmd :FileType {:pattern [:gitcommit :markdown] :command "setlocal wrap"}) -(autocmd :FileType {:pattern [:gitcommit :markdown] :command "setlocal spell"}) +(autocmd :FileType {:pattern [:gitcommit :markdown :org] :command "setlocal spell"}) (autocmd :VimResized {:command "tabdo wincmd ="}) diff --git a/fnl/config/orgmode.fnl b/fnl/config/orgmode.fnl index 5913069..81c24a3 100644 --- a/fnl/config/orgmode.fnl +++ b/fnl/config/orgmode.fnl @@ -1,5 +1,9 @@ ;; Orgmode for nvim. -(module config.orgmode {autoload {util util}}) +(module config.orgmode {autoload {nvim aniseed.nvim + util util}}) + +(nvim.ex.set "conceallevel=2") +(nvim.ex.set "concealcursor=nc") (let [orgmode (util.load-plugin :orgmode)] (orgmode.setup_ts_grammar) |