Bot releases are visible (Hide)
Published by github-actions[bot] 10 months ago
Added Lua API methods Client:set_workspace(workspace: obsidian.Workspace)
and Client:switch_workspace(workspace: string|obsidian.Workspace)
.
Added the ability to override settings per workspace by providing the overrides
field in a workspace definition. For example:
require("obsidian").setup({
workspaces = {
{
name = "personal",
path = "~/vaults/personal",
},
{
name = "work",
path = "~/vaults/work",
-- Optional, override certain settings.
overrides = {
notes_subdir = "notes",
},
},
},
-- ... other options ...
})
fzf.vim
as a finder when the vault name contains characters that need to be escaped, such as spaces.cdf27a7 Fix bug with ext marks inside frontmatter (#284)
2c69c3d fix fzf.vim for vaults with spaces (#281)
4a962b1 cache template subst results
de5c1f8 do template substitutions lazily
430bee7 chore(docs): auto generate docs
0ad2c9d Add ability to override opts per workspace (#277)
e9a9f12 minor internal improvements (#276)
bbb7d14 make workspace API more robust (#275)
aa1fd91 add link to discussions in readme
66f802a chore(docs): auto generate docs
1b57df3 Add note on conceallevel option for config (#273)
5e505eb move each command to its own module (#271)
Published by github-actions[bot] 10 months ago
min_chars = 1
and you start typing an empty check box.Client.templates_dir
field with Client:templates_dir()
function.:ObsidianLink
will now open your finder when the initial search comes up empty or ambiguous.client:vault_relative_path()
fails in cmp_obsidian_new
.6c2a53a Bump actions/setup-python from 4 to 5 (#260)
16997fd chore(docs): auto generate docs
91d1dc6 Add support for mini.pick as another alternative to telescope.nvim (#270)
6e3ede1 Don't trigger completion on whitespace (#266)
6a3ce7a Don't use client.opts.dir
directly
25b0fa1 improve logging
6ddc2d4 fall back to finder from :ObsidianLink
(#262)
46fce16 chore(docs): auto generate docs
170dfc2 clarify workspace path meaning
6feeae9 Fix templates location when switching workspaces (#259)
Published by github-actions[bot] 11 months ago
Client:update_ui()
method.obsidian.config.OpenStrategy
to config.open_notes_in
.disable_frontmatter
now can be a function taking the filename of a note (relative to the vault root) to determine whether the note's frontmatter can be managed by obsidian.nvim or not.Client:daily_note_path()
now takes a datetime integer instead of an ID string.config.open_notes_in
will now only open a vertical/horizontal split if the window is not already split.49b48bc Fix autocmd registration for workspaces (#255)
384b7e9 chore(docs): auto generate docs
bb3aac6 use uploaded screenshot (#252)
d313034 chore(docs): auto generate docs
02065f8 Convert demo to .gif
951837c chore(docs): auto generate docs
83988a9 space out commands in readme
73646cd clean up
962456e chore(docs): auto generate docs
b559c60 feat: allow disable_frontmatter config option to be a function (#250)
d4205cc chore(docs): auto generate docs
8498a7b Fixed URL incorrect in README.md (#251)
36a84dc chore(docs): auto generate docs
6b7eeba add reference to pomo.nvim
51d9495 add permissions to release workflow
40ada71 remove broken test
849196c chore(docs): auto generate docs
164f940 change how open_notes_in
behaves
c09d16c add param type for offset days
7c88801 chore(docs): auto generate docs
eaf3610 allow multiline template substitutions
8e6d10d update Client.daily_note_path()
Published by github-actions[bot] 11 months ago
:ObsidianFollowLink
and the default gf
pass-through mapping will now follow links to local files that are not notes.Client
search methods to take a class of options.ae9b00d chore(docs): auto generate docs
0c6cf7e add workflow dispatch for panvimdoc
ee3d3d0 Add documentation to completion items
0352b38 Add more info to README, fix typos
2ef0a24 improve gathering backlinks
9a9617d Give YamlType an enum def
d7e8e0e OrderedTbl vaporware
42734a9 Make tags completion more robust
efa95f1 clarify SemVer in CHANGELOG
03d69dd Remove Client.backlinks_namespace
field
1bd260d rename Client:search
to find_notes
5d022cc Add tests for RefTypes and Patterns
ef8103b Merge pull request #246 from epwalsh/epwalsh/search-refactor
d9e35bc Merge pull request #248 from epwalsh/epwalsh/gf-non-notes
820b0ea chore(docs): auto generate docs
Published by github-actions[bot] 11 months ago
get_client()
to get the current obsidian client instance. For example: :lua print(require("obsidian").get_client():new_note_id("Foo"))
find_tags()
and find_tags_async()
.==highlight this text!==
.<ENTER>
within a group to toggle the folding.:ObsidianBacklinks
will now maintain focus to the current window.:ObsidianBacklinks
will now respect the sort_by
and sort_reversed
configuration options.BufEnter
.b1094a7 move gfind
to util
module
59991c7 chore(docs): auto generate docs
ecd20f3 Add support for inline text highlighting (#242)
9e3709f Fix completion bug
5916196 remove UI update delay on BufEnter
dcfa738 Sort backlinks according to sort config options
1bc9d6e Add enum for sort_by
option
e7632ee Maintain focus on curwin with :ObsidianBacklinks
05e0ce9 toggle backlinks folding with
66b6387 chore(docs): auto generate docs
6733cc3 reformat
2bc0d3d add spacing between badges
3128b82 chore(docs): auto generate docs
f4dc1b8 compress html in README for better vim docs
e1ae603 fix test, update doc build
e5ef642 chore(docs): auto generate docs
8955711 update README and expand allowed URL chars
c67f910 add 'abc' module with class factory
0f93781 improve metatable usage in classes
8e82468 chore(docs): auto generate docs
72da80a rename 'mapping' module to 'mappings'
7fd4b56 reorganize modules
115cda7 clean up more util functions
f3cef5c remove util.table_length()
8e1452e rename util table methods
c4c029f Add missing itertools module
0dcd6ed move itertools to own module
4794cfb Move more search/find fns into 'search' module
c2c5d69 chore(docs): auto generate docs
31a15ed Add completion for tags
699e803 add find tags functionality
0134151 simplify search/find functions
Published by github-actions[bot] 11 months ago
f441bfe cache ExtMarks
384af36 remove unnecessary ftplugin file
7b35ca0 Register cmp sources in setup call
f6412e7 rename 'echo' -> 'log' (#240)
16d780e Fix windows OS check (#239)
3499604 make UI updates more efficient
42d5585 chore(docs): auto generate docs
0d9934d Make reference patterns more robust
Published by github-actions[bot] 11 months ago
Highlights:
Completion for markdown-style links in addition to Wiki links + more ways to customize how Wiki links are completed! 🔥
We also added support for pasting images into notes with the new command :ObsidianPasteImg
📷
:ObsidianPasteImg
for pasting images from the clipboard into notes. See the attachments
configuration option for customizing the behavior of this command. Inspired by md-img-paste.vim and clipboard-image.nvim.completion.prepend_note_path
and completion.use_path_only
options (mutually exclusive with each other and completion.prepend_note_id
).opts.ui.tick
to opts.ui.update_debounce
, but the tick
field will still be read for backwards compatibility.:ObsidianOpen
will now open wiki links under the cursor instead of always opening the note of the current buffer.:ObsidianBacklinks
will now show backlinks for the note of a wiki link under the cursor instead of always showing backlinks for the note of the current buffer.d68e92b chore(docs): auto generate docs
bfa9437 Add support for completing markdown links (#237)
52ba55d chore(docs): auto generate docs
1aca272 Add option to fill paths with completion (#236)
5383bab chore(docs): auto generate docs
005ea04 Add :ObsidianPasteImg
command, other improvements (#235)
f1b2fe7 chore(docs): auto generate docs
818f405 add badge to readme
cc1a9b2 clean config normalization
f4e1b12 chore(docs): auto generate docs
8229a10 rename ui.tick
to ui.update_debounce
8ade892 Ensure commands available in all buffers
Published by github-actions[bot] 11 months ago
Highlights:
The long awaited :ObsidianRename
command is here along with big improvements to our syntax add-ons! Wiki links, external links, and checklists look much better now out-of-the-box and can be easily customized! 🥳
I recommend you use treesitter as a base markdown syntax highlighter, but obsidian.nvim is also compatible with traditional regex syntax highlighting.
:ObsidianRename
command.:ObsidianTomorrow
command.:ObsidianToday
command. For example: :ObsidianToday -1
to go to yesterday's daily note.ui
for customizing obsidian.nvim's additional syntax highlighting and extmarks.<leader>ch
for toggling check-boxes.a351e3c Don't cancel CI jobs in progress
51dc70c ensure no overlap in finding refs
a626d1b Improve :ObsidianFollowLink
and URL recognition
75ffabb add highlights to CHANGELOG
fa8bd16 chore(docs): auto generate docs
10a63a3 ignore code blocks when adding marks
891756c Add UI screenshot
8e5395e chore(docs): auto generate docs
75a1446 Add more explanation to new opts
d8e649b chore(docs): auto generate docs
eabe318 refactor UI opts
a64ff05 chore(docs): auto generate docs
5a71d81 UI improvements (#233)
7c9cd6e chore(docs): auto generate docs
c062e74 make additional syntax highlighting customizable
1efff45 chore(docs): auto generate docs
ed1347d Add ObsidianYesterday and offset arg to ObsidianToday
14d684a chore(docs): auto generate docs
fe9d83e ensure syntax hls work with latest treesitter
d94bc92 chore(docs): auto generate docs
825b7bf Clarify notes on dependencies in README
5257fab Handle paths in :ObsidianRename
f25fb31 Hot fix for :ObsidianRename
1b806ba chore(docs): auto generate docs
6d9b57e Add :ObsidianRename
command (#232)
c6d33d7 replace ipairs()
with custom iter()
(#231)
47814db update doc strings / err msgs in async mod
Published by github-actions[bot] 11 months ago
:ObsidianCheck
.c915f8d chore(docs): auto generate docs
98cc482 update recommended versioning settings
7e874cf Merge pull request #230 from epwalsh/refactor-commands
Published by github-actions[bot] 11 months ago
Major internal refactoring to bring performance improvements through async execution of search/find functionality, and general robustness improvements. 🏎️🤠
obsidian.async
module for internal use.obsidian.yaml.native
). This should be faster and more robust now.obsidian.async
and plenary.async
for big performance gains.fzf.vim
and made running finders more robust in general.overwrite_mappings
option.d8504e5 Log stderr output from shell commands (#229)
e07ffef relax conditions where we quote YAML strings (#228)
475f35e ensure echo.*
is safe for fast events (#227)
dd9ef6a improve Client.resolve_note()
d7cf896 Fix command arg complete
ad05dbc another fix for resolve_note
a73b143 Fix bug introduced with Client.resolve_note
107469e improve how we collect version information
99ce44a update auto commit messages
f999420 chore(deps): bump kdheepak/panvimdoc from 3.0.6 to 4.0.0 (#197)
021118c chore(deps): bump actions/checkout from 1 to 4 (#192)
b3e2979 chore(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 (#208)
4ace899 Fix #223 and make calling finders more robust (#224)
fd3f753 chore: auto generate docs
5030785 added comma to config-example and changed to fzf.vim in README.md (#222)
bda0454 Add better error handling to Client.search_async()
(#221)
cbcce32 Merge pull request #219 from epwalsh/template-frontmatter
6e72c9e replace util.build_bind_cmd with search.build_find_cmd
fcd92ca chore: auto generate docs
dd23295 use actual default value of use_advanced_uri
in README
8b572b7 Merge pull request #217: 🚀 performance: add concurrency to all search/find functionality, lazy imports, etc
3473038 chore: auto generate docs
6dc0ee9 clarify "yaml_parser" option in README
648ed89 Improve native YAML parser (#216)
7945be8 chore: auto generate docs
78b10b8 update README
e5449e8 remove overwrite_mappings
option
37b0ddc chore: auto generate docs
e009a57 Update README.md (#215)
1149c5b feat: support unespacing backslash when following wikilinks (#211)
3d08b8d Fix completion bug (#213)
Published by github-actions[bot] almost 1 year ago
overwrite_mappings
option, which sets the mappings in the config even if they already existyaml_parser
(a string value of either "native" or "yq") to change the YAML parser.note.from_lines
.3369669 chore: auto generate docs
93bc7cd Make the YAML parser configurable (#210)
96ac0d9 Fix some YAML parser issues
1387498 chore: auto generate docs
1194d4c feat: support workspaces config option (#155)
25f57d5 fix silent validation errors in note.from_lines (#206)
52c06a0 chore: auto generate docs
f0b3044 Add overwrite_mappings
option to config (#204)
Published by github-actions[bot] about 1 year ago
f9a8f26 fix README
2be2759 chore: auto generate docs
7a7942f update recommendation for configuring mappings (#205)
Published by github-actions[bot] about 1 year ago
util.find()
function.6407cdc hot fix for missing find cmd
Published by github-actions[bot] about 1 year ago
sort_by
to allow setting search result order by "path", "modified", "accessed", or "created".sort_reversed
to allow setting search result sort reversed order. The default is true
.daily_notes.template
for automatically using a specific template when creating a new daily note.templates.substitutions
for defining custom template substitutions.:ObsidianNew
. The argument to this command can be in one of 3 different forms which determine the behavior of the command:
:ObsidianNew Foo
. In this case the command will pass the title to the note_id_func
and put the note in the default location.:ObsidianNew notes/Foo
. In this case the command will pass the title "Foo" to the note_id_func
and put the note in the directory of the path prefix "notes/".:ObsidianNew notes/foo.md
. In this case the command will put the new note at the path given and the title will be inferred from the filename ("foo").ObsidianFollowLink
when the note path contains a block link (e.g. [[foo#^Bar]]
).:ObsidianOpen
doesn't work in WSL2
[[
is typed.9a45ebc Add note about LuaLS to CONTRIBUTING guide
3df8a3b Fix templates config bug (#202)
5059e18 chore: auto generate docs
ff98c63 update README
e7c3743 fix config for templates
1c6a28b chore: auto generate docs
ea6a89e Automatic template insertion in daily notes, custom template substitutions (#195)
9c0cf56 Fix YAML parsing on inline lists without quotes (#199)
1bd00a4 chore: auto generate docs
5d3d8d3 Add sort_by
and sort_reversed
config option (#200)
edc85df Improve completion trigger pattern (#198)
256ca78 chore: auto generate docs
6cb5591 Update README
41d7672 Add daily_notes.alias_format
config option (#191)
d7c3b83 chore: auto generate docs
3725b89 If using wsl, use wsl-open (#187)
41bb0ca Minor change to behavior of :ObsidianNew
command (#188)
b681a5c ignore '^' in link following, use %s instead to match spaces (#183)
5bda19a chore: auto generate docs
c56c4f2 update lazy.nvim example
9ac240d Allow spaces in header portion of links (#181)
e33f077 chore: auto generate docs
60f8da4 fix setup event for lazy.nvim
Published by github-actions[bot] about 1 year ago
prepend_note_id
to allow disabling id generation for new notes.mappings
configuration field.open_notes_in
configuration fieldbacklinks
options to the config. The default is
backlinks = {
-- The default height of the backlinks pane.
height = 10,
-- Whether or not to wrap lines.
wrap = true,
},
template_pattern
not escaping special characters.:ObsidianOpen
when note is in a subdirectory with the same name as the root vault directory.note_frontmatter_func
option was not used when creating new notes.f19afa6 Apply note_frontmatter_func
when for new notes (#178)
7645f5f chore: auto generate docs
564f648 add backlinks config opts (#175)
8f1c896 Fix :ObsidianOpen
f3f3479 fix: new note args (#169)
0158b45 chore: auto generate docs
c396640 Add config option for opening notes in vertical/horizontal split (#166)
f534ad0 fix bug in template check if there's magic chars in path (#164)
f81ddfa make error message more informative
b71d146 chore: auto generate docs
96d20ed clarify custom gf
mapping docs
ed7ace4 chore: auto generate docs
6e2af3d Clean up README (#158)
2d16c31 chore: auto generate docs
00b8950 Automatically configure 'gf' passthrough, add 'mappings' config (#161)
1534187 chore: auto generate docs
9e0a7cc update README
9f34463 chore: auto generate docs
2c2a368 Separate plugin dependencies in documentation
a5fc3aa chore: auto generate docs
a728371 Remove leading | if note_id_func returns '' or nil (#160)
c76e197 chore: auto generate docs
f0c32f4 small documentation changes (#156)
8fcc8d8 Refactor client.today
and client.yesterday
(#154)
Published by github-actions[bot] over 1 year ago
ObsidianTemplate
to select a template.command.insert_template()
to command.template()
and split the template insert script into a separate function util.insert_template()
.log_level
configuration option to suspend notifications.completion.new_notes_location
configuration option to specify where newly created notes are placed in completion.notes_subdir
.ObsidianFollowLink
when the note path contains a header link (e.g. [[foo#Bar]]
).677c7ba Update CHANGELOG and CONTRIBUTING guide
e2f37f0 Fix ObsidianFollowLink with header links (#152)
cb8a140 chore: auto generate docs
2fdb1e9 add link to contributing guide
912eb9b fix luacheck config
ad34e61 Add contributing guide
79bbc90 chore: auto generate docs
9ed82f4 chore(deps): bump kdheepak/panvimdoc from 3.0.5 to 3.0.6 (#135)
59a9266 chore(deps): bump JohnnyMorganz/stylua-action from 1 to 3 (#131)
f562c97 chore: auto generate docs
47fba3f update docs
3263a33 chore: auto generate docs
a6a4c0c add TOC to README
bfc46b2 chore: auto generate docs
2999a42 add alt text to demo
a83cc49 Always treat paths relative to vault root, other fixes (#151)
9a9be56 chore: auto generate docs
1e7d023 reorganize readme
ab361f4 chore: auto generate docs
757fb70 docs(readme): adding packer.nvim setup (#150)
0077ae7 Fix creating new notes when the title is a path (#148)
4d2e1d0 chore: auto generate docs
1cc81e8 check for bad option value
833bd36 chore: auto generate docs
c852dce document new options in README
3e9e127 Add log level option to silent notifications and make new note location configurable (#146)
e2fe028 fix(is_template check): swap out call to viml string match function for builtin lua function. (#145)
389e526 Fix setup
when templates
settings are not provided (#144)
bb6af80 Allow ObsidianTemplate to take template as arg (#143)
Published by github-actions[bot] over 1 year ago
daily_notes.date_format
(a string) to customize the date format of daily notes.disable_frontmatter
is ignored for ObsidianToday
and ObsidianYesterday
.ObsidianTemplate
when using Telescope996ef8c fix: disable managed frontmatter for templates (#142)
40e0a5f Fix running tests locally (#140)
f509468 chore: auto generate docs
c2f3bbb Dailynotes custom format date (#138)
0f96267 minor cleanup
31b303d Fix bug in ObsidianTemplate with telescope (#137)
93adf4f Respect disable_frontmatter when for daily notes (#136)
be57d5f chore: auto generate docs
385ae48 Update demo link
Published by github-actions[bot] over 1 year ago
:ObsidianCheckHealth
.finder
option for choosing a preferred finder backend.95f5813 chore: auto generate docs
f827cd8 clean up README
79f6d7a clean up changelog
1a9ec65 feat: add finder
option for choosing a preferred finder backend (#129) (#130)
47d1be9 fix lint
2a36e39 report errors finding vault from health check
0418505 remove annoying message
Published by github-actions[bot] over 1 year ago
open_app_foreground
option to open Obsidian.app in foreground on macOS.:ObsidianTemplate
to insert a template, configurable using a templates
table passed to setup()
.follow_url_func
option to customize behaviour of following URLsvim.notify
to echo log messages now.nvim-cmp
completion for notes that have no aliases
specified.nvim-cmp
completion will search based on file names now too, not just contents.nvim-cmp
is not installed.ObsidianOpen
when vault path was configured behind a linkbf81c8a remove call to echo.setup
66651b5 use vim.notify
c2ae4a6 add checkhealth command
e857184 chore: auto generate docs
968083a update README, include complete configuration
1a29569 chore: auto generate docs
8c23830 feat: detect and handle urls in :ObsidianFollowLink (#123)
a07e3fa Update bug_report.yml
951f15f Update bug_report.yml
9dd1930 feat: add support to follow links in markdown format (#122)
d2433fb chore: auto generate docs
d3c98eb feat: add option open_app_foreground
(#121)
e1c4658 chore: auto generate docs
09a0a36 Fix for ObsidianOpen
not working with links (#113)
0823e60 clean up
234f42b revert name change of docs
65412ea chore: auto generate docs
818377e pin panvimdoc
4bc10b8 fix bug when nvim-cmp not installed (#111)
3750b91 chore: auto generate docs
2d0e923 Add short demo for new users (#108)
26af698 chore: auto generate docs
5f48a8b add note about only calling setup once
d6e9300 More completion fixes/improvements (#104)
dbdcc30 Fix nvim-cmp
completion for notes with aliases (#103)
96b2e76 Warn about and ignore invalid aliases and tags (#101)
4f13b1c chore: auto generate docs
247e00d Added support for templates (#98)
5ecf680 change wording in release commit
Published by github-actions[bot] over 1 year ago
lua-yaml
no-longer bundled as a git submodule. Code from that project has been copied and modified into it's own Lua submodule of obsidian
.init.nvim
).nvim-cmp
completionnvim-cmp
to stop working.disable_frontmatter
setting would be ignored for :ObsidianNew
command.0f556fd chore: auto generate docs
e2fca73 Un-bundle plenary (#97)
43009f0 Remove lua-yaml git submodule (#96)
cf3c97b Fix relative module name with idiomatic name; see #93 for explanation. (#94)
3d45970 Fix bug with disable_frontmatter
setting
59ade59 Fix: cmp
stopped working when the cmp_obsidian_new
was executed. (#90)