Workstation: kdeconnect + thunar thumbnails + sidecar + agentpipe (source build)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
@define-color overlay0 #6e738d;
|
||||
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", "Font Awesome 6 Free", sans-serif;
|
||||
font-family: "JetBrainsMono Nerd Font", "Symbols Nerd Font","Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif;
|
||||
font-size: 14px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
|
||||
@@ -1,36 +1,50 @@
|
||||
return {
|
||||
{
|
||||
"nvim-orgmode/orgmode",
|
||||
ft = { "org" },
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
config = function()
|
||||
-- Ensure *.org files are treated as "org" filetype
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
org = "org",
|
||||
},
|
||||
})
|
||||
|
||||
-- Treesitter grammar for org (required for good highlighting)
|
||||
local ok, parsers = pcall(require, "nvim-treesitter.parsers")
|
||||
if ok then
|
||||
local parser_config = parsers.get_parser_configs()
|
||||
parser_config.org = {
|
||||
install_info = {
|
||||
url = "https://github.com/milisims/tree-sitter-org",
|
||||
revision = "main",
|
||||
files = { "src/parser.c", "src/scanner.c" },
|
||||
},
|
||||
filetype = "org",
|
||||
}
|
||||
end
|
||||
|
||||
require("orgmode").setup({
|
||||
org_agenda_files = { "~/organizer/agenda/**/*", "~/organizer/*.org" },
|
||||
org_default_notes_file = "~/organizer/inbox.org",
|
||||
})
|
||||
end,
|
||||
"nvim-orgmode/orgmode",
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
|
||||
-- Load at startup so the parser definition exists before you run TSInstall.
|
||||
lazy = false,
|
||||
|
||||
init = function()
|
||||
-- Register the org parser with nvim-treesitter (API-compatible fallback).
|
||||
local ok, parsers = pcall(require, "nvim-treesitter.parsers")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
local parser_configs = nil
|
||||
|
||||
if type(parsers.get_parser_configs) == "function" then
|
||||
parser_configs = parsers.get_parser_configs()
|
||||
elseif type(parsers.get_parser_configs) == "table" then
|
||||
parser_configs = parsers.get_parser_configs
|
||||
elseif type(parsers.parser_configs) == "table" then
|
||||
parser_configs = parsers.parser_configs
|
||||
end
|
||||
|
||||
if not parser_configs then
|
||||
return
|
||||
end
|
||||
|
||||
-- Don’t overwrite if it already exists.
|
||||
if not parser_configs.org then
|
||||
parser_configs.org = {
|
||||
install_info = {
|
||||
url = "https://github.com/milisims/tree-sitter-org",
|
||||
revision = "main",
|
||||
files = { "src/parser.c", "src/scanner.c" },
|
||||
},
|
||||
filetype = "org",
|
||||
}
|
||||
end
|
||||
end,
|
||||
|
||||
config = function()
|
||||
require("orgmode").setup({
|
||||
org_agenda_files = { "~/organizer/agenda/**/*", "~/organizer/*.org" },
|
||||
org_default_notes_file = "~/organizer/inbox.org",
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user