-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag completion support #6
Comments
Thank you for your comment! Community-reported issues are so important (more than my crazy ideas!)
Please let me know how you are triggering the completions and also make sure that you have configured nvim-cmp as specified in the readme. Also make sure that you have the latest version as things have been changing quickly. We should be able to figure this one out!
Again, thank you so much for the comment! I hope we can fix these issues soon. I would hate not to have tag completions 😄 |
You are totally right!. I had remanents in my config of when the name was I am sorry. This can be closed. Thank you again! |
I should have made an announcement when I renamed it! But I just thought that nobody was using actually using this 😆 Im sorry! Also, I really want to standardize the nvim-cmp config. I knew it would be an issue from the beginning. I can either make an nvim plugin for markdown-oxide but this adds an install step, which I dislike) or I may be able to figure out a way to configure nvim-cmp from nvim-lspconfig (which I already have a WIP PR up for here), but I don't even know if lspconfig would allow me to configure other plugins from within theirs. Do you have any thoughts or preferences regarding this? |
I think you did the right thing taking the standard path. I think you are also right about not adding a Neovim plugin. It should be a different project if anyone wants to add functionality around it. I don't like all-in-one too complicated solutions despite good intentions from the developers. For example, obsidian.nvim provides very good stuff, but it tries to do everything. The problem is when something doesn't work well, or doesn't fit someone's needs, either you take it all or cannot use it. The same goes for bugs, it can become unmaintainable. That is where I find markdown-oxide very interesting, I can have my own functions for things like managing the vault, creating notes etc. I like the modularity your project provides: a good LSP server compatible with I am very happy to be able to move to markdown-oxide. |
Ooh great point!
Thank you that means a lot. One more thought: leaving the configuration to the user means that when/if I update the keyword pattern (which is not impossible), the user would need to make a manual update, which is not ideal. This is why I am in favor of trying to configure nvim-cmp through lspconfig; it would update when the plugin manager updates. It is nice to know that configuring the keyword is not such a burden though! |
I wholeheartedly agree, which is why I've been working on https://github.com/sQVe/notebox.nvim. Notebox.nvim aims to help you manage Markdown-based notes, providing recommendations for companion plugins to create your own note-taking environment. @Feel-ix-343 I will add |
functionalities in obsidian.nvim are limited to searching notes, completion for wikilinks, completion for tags. Allows renaming files. native vim commands as gf are allowed to go through linked files. In these terms I believe markdown-oxide have caught up fair bit. Even closer to the obsidian core linking feature. @dawsers not sure what is complicated or do it all about obsidian.nvim though. Strongly feel that efforts in these two repos are put in almost same direction, although m-oxide can be generalized to multiple editors. |
When I wrote that comment, |
This is all true; the other thing about a language server however is compatibility with the neovim language server ecosystem. Inherently obsidian.nvim would need to build in support for pickers (telescope), while this language server has and will have support for any picker created - eg I currently use a combination of Lspsaga, telescope, and nvim-navbuddy. I'm also really seeing the importance of this merge, and I will be working on it in the shortterm |
Hi, thank you for the great LSP server! It is really fast, and I am hoping it will provide a full solution for markdown/obsidian editing in Neovim. I have been using it for a couple of weeks, and there are two things I find missing:
Tag auto-completion: I use tags extensively, and marksman and obsidian.nvim both have tag auto-completion. I understand it should be a relatively easy addition, as moxide already supports go to tag definitions and references, so they are parsed.
Bug: I think moxide parses anything starting by
#
as a section-type entry. However, it doesn't check whether the symbol happens within a code block. For example, when I ask for document symbols for this small document (sh
fenced code block), I get comment lines as sections.# Real Section
I would get both
Real Section
andJust a comment
as document symbols instead of justReal Section
.Thank you very much for your work.
The text was updated successfully, but these errors were encountered: