Skip to content

Commit

Permalink
plugins: add headline and org-bullet
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Nov 17, 2023
1 parent d5ce051 commit 95658ae
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"flit.nvim": { "branch": "main", "commit": "f4e9af572a62c808c8de214da672f2a115a98c35" },
"galaxyline.nvim": { "branch": "main", "commit": "20f5f750002532a35193f55cd499074fc97d933d" },
"gitsigns.nvim": { "branch": "main", "commit": "af0f583cd35286dd6f0e3ed52622728703237e50" },
"headlines.nvim": { "branch": "master", "commit": "e3d7bfdf40e41a020d966d35f8b48d75b90367d2" },
"hlargs.nvim": { "branch": "main", "commit": "6218a401824c5733ac50b264991b62d064e85ab2" },
"indent-blankline.nvim": { "branch": "master", "commit": "29be0919b91fb59eca9e90690d76014233392bef" },
"kanagawa.nvim": { "branch": "master", "commit": "c19b9023842697ec92caf72cd3599f7dd7be4456" },
Expand Down Expand Up @@ -43,6 +44,7 @@
"nvim-treesitter-textobjects": { "branch": "master", "commit": "dbcd9388e3b119a87c785e10a00d62876077d23d" },
"nvim-ts-autotag": { "branch": "main", "commit": "6be1192965df35f94b8ea6d323354f7dc7a557e4" },
"nvim-web-devicons": { "branch": "master", "commit": "11eb26fc166742db8d1e8a6f5a7de9df37b09aae" },
"org-bullets.nvim": { "branch": "main", "commit": "6e0d60e901bb939eb526139cb1f8d59065132fd9" },
"orgmode": { "branch": "master", "commit": "e9c08d58c13372981815d207c78763e5beac32d4" },
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
"rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" },
Expand Down
25 changes: 24 additions & 1 deletion lua/note/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,34 @@ pack("dhruvasagar/vim-table-mode", {

pack("nvim-orgmode/orgmode", {
ft = "org",
keys = {
"<leader>oa",
"<leader>oc",
},
config = function()
require("orgmode").setup_ts_grammar()
require("orgmode").setup({
org_agenda_files = "~/me/notes/daily-report/org/**/*",
org_agenda_files = { "~/todo.org", "~/me/notes/daily-report/org/**/*" },
org_default_notes_file = "~/me/notes/refile.org",
org_archive_location = "~/.cache/org-mode/%s_archive",
org_todo_keywords = { "TODO(t)", "BLOCK(b)", "|", "DONE(d)" },
org_todo_keyword_faces = {
BLOCK = ":foreground #7E9CD8 :weight bold",
},
})
end,
})

pack("akinsho/org-bullets.nvim", {
ft = { "org" },
config = function()
require("org-bullets").setup()
end,
})

pack("lukas-reineke/headlines.nvim", {
ft = { "org", "markdown" },
config = function()
require("headlines").setup()
end,
})
2 changes: 2 additions & 0 deletions lua/ui/kanagawa.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ local function override(colors)
TelescopeResultsTitle = { fg = theme.ui.fg_dim, bg = theme.ui.bg_m1 },
TelescopeTitle = { fg = theme.ui.special, bold = true },
WinSeparator = { fg = default.sumiInk4 },
CodeBlock = { bg = default.sumiInk0 },
Headline = { bg = default.sumiInk1 },
["@text.title.1"] = {
fg = default.peachRed,
bold = true,
Expand Down

0 comments on commit 95658ae

Please sign in to comment.