From cb129352321700c03b0ba24cf8c30dbb6b37b024 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 16 May 2022 21:57:58 +0200 Subject: Add spell check in org --- fnl/config/autocmd.fnl | 2 +- fnl/config/orgmode.fnl | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'fnl/config') 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) -- cgit v1.2.3-70-g09d2