Skip to content

Commit

Permalink
feat(nvim): update orgmode templates
Browse files Browse the repository at this point in the history
  • Loading branch information
massix committed Apr 8, 2024
1 parent 52f5a18 commit 755c8eb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
16 changes: 15 additions & 1 deletion .neoconf.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@
"enabled": true
}
}
},
"lspconfig": {
"lua_ls": {
"Lua.hint.enable": true,
"Lua.hint.paramName": "All",
"Lua.hint.semicolon": "All",
"Lua.codeLens.enable": true,
"Lua.hint.arrayIndex": "Enable",
"Lua.semantic.enable": true,
"Lua.typeFormat.config": {
"format_line": "true",
"auto_complete_end": "true"
},
"Lua.hover.enumsLimit": 5
}
}
}

2 changes: 1 addition & 1 deletion nvim/lua/config/keymaps.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local function map(mode, lhs, rhs, opts)
local map = function(mode, lhs, rhs, opts)
local keys = require("lazy.core.handler").handlers.keys
-- do not create the keymap if a lazy keys handler exists
if not keys.active[keys.parse({ lhs, mode = mode }).id] then
Expand Down
4 changes: 2 additions & 2 deletions nvim/lua/plugins/orgmode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ return {
},
c = {
description = "Personal calendar entry",
template = "* MEET %?\n SCHEDULED: %T",
template = "* MEET %?\n SCHEDULED: %^{Meeting Date}T",
headline = "Calendar",
target = "~/org/index.org",
},
C = {
description = "Work calendar entry",
template = "* MEET %?\n SCHEDULED: %T",
template = "* MEET %?\n SCHEDULED: %^{Meeting Date}T",
headline = "Calendar",
target = "~/org/work.org",
},
Expand Down

0 comments on commit 755c8eb

Please sign in to comment.