Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Apr 25, 2024
1 parent 3c78eb4 commit 47f2df1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/dotvim/pkgs/editor/plugins/obsidian.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ return {
suffix = suffix .. string.char(math.random(65, 90))
end
end
return tostring(os.time()) .. "-" .. suffix
return ("%0x-%s"):format(os.time(), suffix)
end,
note_frontmatter_func = function(note)
local out = {
Expand Down
12 changes: 11 additions & 1 deletion lua/dotvim/pkgs/extra/languages/rust.lua
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,17 @@ return {
enable = true,
},
},
files = { watcher = "server" },
files = {
watcher = "server",
excludeDirs = {
".direnv",
".devenv",
},
watcherExclude = {
".direnv",
".devenv",
},
},
lru = { capacity = 1024 * 2 },
},
},
Expand Down

0 comments on commit 47f2df1

Please sign in to comment.