diff options
author | Squibid <me@zacharyscheiman.com> | 2023-11-27 17:52:11 -0500 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-11-27 17:52:11 -0500 |
commit | 1122ca1b383517bde738e371e2f71e0af82e81c5 (patch) | |
tree | bc0ece928d425db926bf03e88421a7995bb3a31b | |
parent | ab707f7d8fef779840ce6666785528cac0b178b7 (diff) | |
download | nvim-1122ca1b383517bde738e371e2f71e0af82e81c5.tar.gz nvim-1122ca1b383517bde738e371e2f71e0af82e81c5.tar.bz2 nvim-1122ca1b383517bde738e371e2f71e0af82e81c5.zip |
add required plugin for neorg presenter, and make wsphome more adaptaive
Diffstat (limited to '')
-rw-r--r-- | after/ftplugin/norg.lua | 1 | ||||
-rw-r--r-- | after/plugin/neorg.lua | 5 | ||||
-rw-r--r-- | lua/conf/plugins.lua | 7 |
3 files changed, 9 insertions, 4 deletions
diff --git a/after/ftplugin/norg.lua b/after/ftplugin/norg.lua new file mode 100644 index 0000000..ca90828 --- /dev/null +++ b/after/ftplugin/norg.lua @@ -0,0 +1 @@ +vim.api.nvim_win_set_option(0, 'colorcolumn', '0') diff --git a/after/plugin/neorg.lua b/after/plugin/neorg.lua index 583f429..49431e2 100644 --- a/after/plugin/neorg.lua +++ b/after/plugin/neorg.lua @@ -3,7 +3,8 @@ if not status_ok then return end -local wsphome = os.getenv("HOME").."/documents/notes/" +local wsphome = os.getenv("XDG_DOCUMENT_DIR") or + (os.getenv("HOME").."/Documents").."/notes/" neorg.setup { load = { ["core.defaults"] = {}, @@ -43,7 +44,7 @@ neorg.setup { }, ["core.presenter"] = { config = { - zen_mode = "truezen", + zen_mode = "zen-mode", } }, ["core.integrations.telescope"] = {}, diff --git a/lua/conf/plugins.lua b/lua/conf/plugins.lua index 23be6c6..c5786a5 100644 --- a/lua/conf/plugins.lua +++ b/lua/conf/plugins.lua @@ -54,9 +54,12 @@ require('dep') { end, requires = { 'nvim-lua/plenary.nvim', - 'nvim-treesitter/nvim-treesitter' + 'nvim-treesitter/nvim-treesitter', + 'folke/zen-mode.nvim' }, - deps = 'nvim-neorg/neorg-telescope' + deps = { 'nvim-neorg/neorg-telescope', + requires = 'nvim-telescope/telescope.nvim' + } }, { 'jbyuki/venn.nvim' }, |