From abdb620c8307e30825aff25027c4e4e38b53b761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Wed, 6 Sep 2023 17:46:29 +0200 Subject: [PATCH] feat(nvim)!: remove org mode --- modules/programs/nvim/plugins/default.nix | 4 ---- modules/programs/nvim/plugins/nvim-treesitter.lua | 5 ----- modules/programs/nvim/plugins/orgmode.lua | 4 ---- 3 files changed, 13 deletions(-) delete mode 100644 modules/programs/nvim/plugins/orgmode.lua diff --git a/modules/programs/nvim/plugins/default.nix b/modules/programs/nvim/plugins/default.nix index d916f00..b29f0ed 100644 --- a/modules/programs/nvim/plugins/default.nix +++ b/modules/programs/nvim/plugins/default.nix @@ -124,10 +124,6 @@ with builtins; ''; dependencies = [ { plugin = nvim-ts-context-commentstring; } - { - plugin = orgmode; - conf = readFile ./orgmode.lua; - } ]; } { diff --git a/modules/programs/nvim/plugins/nvim-treesitter.lua b/modules/programs/nvim/plugins/nvim-treesitter.lua index 0c13317..e221fdd 100644 --- a/modules/programs/nvim/plugins/nvim-treesitter.lua +++ b/modules/programs/nvim/plugins/nvim-treesitter.lua @@ -1,13 +1,8 @@ --- Load custom treesitter grammar for org filetype -require("orgmode").setup_ts_grammar() require("nvim-treesitter.configs").setup({ sync_install = false, auto_install = false, highlight = { enable = true, - -- Required for spellcheck, some LaTex highlights and - -- code block highlights that do not have ts grammar - additional_vim_regex_highlighting = { "org" }, }, context_commentstring = { enable = true, diff --git a/modules/programs/nvim/plugins/orgmode.lua b/modules/programs/nvim/plugins/orgmode.lua deleted file mode 100644 index 789eb0a..0000000 --- a/modules/programs/nvim/plugins/orgmode.lua +++ /dev/null @@ -1,4 +0,0 @@ -require("orgmode").setup({ - org_agenda_files = { "~/Notes/org" }, - org_default_notes_file = "~/Notes/org/refile.org", -})