{"id":15017146,"url":"https://github.com/gw31415/obsidian-lsp","last_synced_at":"2026-04-13T02:30:17.515Z","repository":{"id":177802705,"uuid":"657930169","full_name":"gw31415/obsidian-lsp","owner":"gw31415","description":"LSP server for operating the note-taking system Obsidian","archived":false,"fork":false,"pushed_at":"2024-03-23T06:46:46.000Z","size":187,"stargazers_count":35,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-23T19:38:09.818Z","etag":null,"topics":["lsp","lsp-server","obsidian","obsidian-md"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gw31415.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-24T08:42:10.000Z","updated_at":"2024-04-23T19:38:09.819Z","dependencies_parsed_at":null,"dependency_job_id":"8314ae9e-20cc-4376-975f-fe97f6010d5c","html_url":"https://github.com/gw31415/obsidian-lsp","commit_stats":null,"previous_names":["gw31415/obsidian-lsp"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Fobsidian-lsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Fobsidian-lsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Fobsidian-lsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gw31415%2Fobsidian-lsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gw31415","download_url":"https://codeload.github.com/gw31415/obsidian-lsp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219847861,"owners_count":16556346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lsp","lsp-server","obsidian","obsidian-md"],"created_at":"2024-09-24T19:49:57.161Z","updated_at":"2026-04-13T02:30:17.440Z","avatar_url":"https://github.com/gw31415.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# obsidian-lsp : Language Server for Obsidian.md\n\n## Development has stalled\n\nUpdates have been delayed due to lack of time allocated for development. Furthermore, I have no plans to make this project more functional.\nIf you are looking for something more versatile, I recommend [markdown-oxide](https://github.com/Feel-ix-343/markdown-oxide).\n\n---\n\n![Screen record](https://github.com/gw31415/obsidian-lsp/assets/24710985/be3e8a1b-230a-4af0-9a0a-ea2e747eed35)\n\n## Motivation\n\n[Obsidian.md](https://obsidian.md/) is a fantastic tool that enables you to\ncreate your own Wiki using Markdown. It's not only convenient but also boasts an\niOS app that makes viewing easy. However, my goal was to further enhance this\nexperience by allowing the use of any text editor like Neovim. The need for such\nflexibility is what led me to the development of this LSP server for\nObsidian.md. It aims to make editing your Obsidian notes more efficient and\nflexible, all in your editor of choice.\n\n## Features\n\nThe Obsidian.md LSP server provides the following main features:\n\n-   [x] `textDocument/completion`: Provides search within the Vault and\n        autocompletion of links, enabling efficient navigation within your wiki.\n\n-   [x] `textDocument/codeAction`: If the alias on WikiLink is not listed in the\n        alias settings in the document's frontmatter, add the string into the alias\n        entry in the document's frontmatter.\n\n-   [x] `textDocument/publishDiagnostics`: Detects and alerts you of broken or\n        empty links, ensuring the consistency and integrity of your wiki.\n\n-   [x] `textDocument/definition`: Allows you to jump directly to a page from\n        its link, aiding swift exploration within your wiki.\n\n-   [x] `textDocument/hover`: Displays the content of the linked article in a\n        hover-over preview, saving you the need to follow the link.\n\n-   [x] `textDocument/rename`: When Rename is performed on a document being edited,\n        the string of the renamed symbol is added to the alias. If the title has not\n        been set, it will also be set to the title of the document.\n\n-   [ ] `textDocument/references`: (Will) display a list of all articles that\n        contain a link to a specific article, helping you understand the context and\n        relationships of your notes. This feature is currently under development.\n\n-   [ ] `workspace/symbol`: (Will) enable searching for symbols across the\n        entire workspace, helping you quickly locate specific topics or keywords.\n        This feature is currently under development.\n\nThe Obsidian.md LSP server makes your Obsidian usage more potent and efficient.\nYou can edit your Obsidian Wiki in your preferred editor, maximising its\npotential.\n\n## How to use?\n\nThis is not a plugin itself and does not provide each function directly to the\neditor. If you still want to try it, you can access each function with the\nfollowing settings.\n\n### Neovim\n\n```lua\nvim.api.nvim_create_autocmd(\"BufRead\", {\n\tpattern = \"*.md\",\n\tcallback = function()\n\t\tlocal lspconfig = require('lspconfig')\n\t\tlocal configs = require('lspconfig.configs')\n\t\tif not configs.obsidian then\n\t\t\tconfigs.obsidian = {\n\t\t\t\tdefault_config = {\n\t\t\t\t\tcmd = { \"npx\", \"obsidian-lsp\", \"--\", \"--stdio\" },\n\t\t\t\t\tsingle_file_support = false,\n\t\t\t\t\troot_dir = lspconfig.util.root_pattern \".obsidian\",\n\t\t\t\t\tfiletypes = { 'markdown' },\n\t\t\t\t},\n\t\t\t}\n\t\tend\n\t\tlspconfig.obsidian.setup {}\n\tend,\n})\n```\n\n## Related Projects\n\n-   [markdown-oxide](https://github.com/Feel-ix-343/markdown-oxide) : Better-updated\n    LSP for obsidian markdown system. I recommend to use it.\n-   [obsidian.nvim](https://github.com/epwalsh/obsidian.nvim) : The Neovim\n    plugin that inspired this project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgw31415%2Fobsidian-lsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgw31415%2Fobsidian-lsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgw31415%2Fobsidian-lsp/lists"}