mirror of
https://github.com/stevenproctor/dotfiles.git
synced 2026-01-28 10:09:55 -06:00
Add nvim-orgmode plugin
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
(module dotfiles.mapping
|
||||
{autoload {nvim aniseed.nvim
|
||||
nu aniseed.nvim.util
|
||||
core aniseed.core}})
|
||||
core aniseed.core
|
||||
util dotfiles.util
|
||||
}})
|
||||
|
||||
(defn- noremap [mode from to]
|
||||
"Sets a mapping with {:noremap true}."
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
:nvim_lsp true
|
||||
:nvim_lua true
|
||||
:conjure true
|
||||
:orgmode true
|
||||
:vsnip true
|
||||
:vim_dadbod_completion true}})))
|
||||
|
||||
|
||||
@@ -44,7 +44,8 @@
|
||||
:<leader>ca "lua vim.lsp.buf.code_action()"
|
||||
:<leader>cl "lua vim.lsp.codelens.run()"
|
||||
:<leader>ic "lua vim.lsp.buf.incoming_calls()"
|
||||
:<leader>oc "lua vim.lsp.buf.outgoing_calls()"
|
||||
;; TODO: think of new mapping; conficts with org mode
|
||||
;; :<leader>oc "lua vim.lsp.buf.outgoing_calls()"
|
||||
:<leader>sld "lua vim.diagnostic.open_float(nil, {source = 'always'})"
|
||||
:<leader>rn "lua vim.lsp.buf.rename()"
|
||||
:<leader>fa "lua vim.lsp.buf.formatting_sync()"
|
||||
|
||||
8
nvim/.config/nvim/fnl/dotfiles/plugin/orgmode.fnl
Normal file
8
nvim/.config/nvim/fnl/dotfiles/plugin/orgmode.fnl
Normal file
@@ -0,0 +1,8 @@
|
||||
(module dotfiles.plugin.orgmode
|
||||
{autoload {orgmode orgmode}})
|
||||
|
||||
(orgmode.setup_ts_grammar)
|
||||
|
||||
(orgmode.setup
|
||||
{:org_agenda_files ["~/Dropbox/org/*" "~/my-orgs/**/*"]
|
||||
:org_default_notes_file "~/Dropbox/org/refile.org" })
|
||||
@@ -3,7 +3,11 @@
|
||||
|
||||
(treesitter.setup
|
||||
{:highlight {:enable true
|
||||
:additional_vim_regex_highlighting false}
|
||||
;; :additional_vim_regex_highlighting false
|
||||
:additional_vim_regex_highlighting [:org]
|
||||
}
|
||||
|
||||
:ensure_installed [:org]
|
||||
|
||||
:rainbow {:enable true
|
||||
:extended_mode true ; Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
:kristijanhusak/vim-dadbod-ui {}
|
||||
:neovim/nvim-lspconfig {:mod :lspconfig} ; NeoVim lsp config
|
||||
:norcalli/nvim-colorizer.lua {:mode :colorizer}
|
||||
:nvim-orgmode/orgmode { :mod :orgmode }
|
||||
:nvim-telescope/telescope.nvim {:requires [[:nvim-lua/popup.nvim] [:nvim-lua/plenary.nvim]] :mod :telescope}
|
||||
:nvim-treesitter/nvim-treesitter {:run ":TSUpdate" :mod :treesitter}
|
||||
:p00f/nvim-ts-rainbow {}
|
||||
|
||||
Reference in New Issue
Block a user