summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/config/autocmd.fnl2
-rw-r--r--fnl/config/orgmode.fnl6
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)