├── .github └── workflows │ └── release.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── src ├── ast.rs ├── code_actions.rs ├── completion.rs ├── definition.rs ├── diagnostics.rs ├── formatting.rs ├── hover.rs ├── lib.rs ├── links.rs ├── main.rs ├── references.rs ├── rename.rs ├── server.rs ├── snapshots │ ├── md_lsp__ast__tests__find_def_for_link_ref.snap │ ├── md_lsp__ast__tests__find_definition_for_identifier-2.snap │ ├── md_lsp__ast__tests__find_definition_for_identifier.snap │ ├── md_lsp__ast__tests__find_definition_for_position-2.snap │ ├── md_lsp__ast__tests__find_definition_for_position.snap │ ├── md_lsp__ast__tests__find_defintions.snap │ ├── md_lsp__ast__tests__find_foot_definition_for_identifier.snap │ ├── md_lsp__ast__tests__find_footnote_def_for_footnote_ref.snap │ ├── md_lsp__ast__tests__find_footnote_definitions.snap │ ├── md_lsp__ast__tests__find_footnote_references.snap │ ├── md_lsp__ast__tests__find_footnote_references_for_identifier.snap │ ├── md_lsp__ast__tests__find_heading_for_link.snap │ ├── md_lsp__ast__tests__find_heading_for_link_identifier.snap │ ├── md_lsp__ast__tests__find_headings.snap │ ├── md_lsp__ast__tests__find_html_nodes.snap │ ├── md_lsp__ast__tests__find_link_references.snap │ ├── md_lsp__ast__tests__find_link_references_for_identifier.snap │ ├── md_lsp__ast__tests__find_linkable_for_position-2.snap │ ├── md_lsp__ast__tests__find_linkable_for_position.snap │ ├── md_lsp__ast__tests__find_links.snap │ ├── md_lsp__ast__tests__find_next_heading-2.snap │ ├── md_lsp__ast__tests__find_next_heading.snap │ └── md_lsp__state__tests__index_md_files.snap ├── state.rs └── symbols.rs ├── testdata ├── test file c.md ├── test-file-b.md ├── test_file_a.md └── testfiled.md └── todo.md /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | *.log 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/README.md -------------------------------------------------------------------------------- /src/ast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/ast.rs -------------------------------------------------------------------------------- /src/code_actions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/code_actions.rs -------------------------------------------------------------------------------- /src/completion.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/completion.rs -------------------------------------------------------------------------------- /src/definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/definition.rs -------------------------------------------------------------------------------- /src/diagnostics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/diagnostics.rs -------------------------------------------------------------------------------- /src/formatting.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/formatting.rs -------------------------------------------------------------------------------- /src/hover.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/hover.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/links.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/links.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/references.rs -------------------------------------------------------------------------------- /src/rename.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/rename.rs -------------------------------------------------------------------------------- /src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/server.rs -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_def_for_link_ref.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_def_for_link_ref.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_definition_for_identifier-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_definition_for_identifier-2.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_definition_for_identifier.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_definition_for_identifier.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_definition_for_position-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_definition_for_position-2.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_definition_for_position.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_definition_for_position.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_defintions.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_defintions.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_foot_definition_for_identifier.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_foot_definition_for_identifier.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_footnote_def_for_footnote_ref.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_footnote_def_for_footnote_ref.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_footnote_definitions.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_footnote_definitions.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_footnote_references.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_footnote_references.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_footnote_references_for_identifier.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_footnote_references_for_identifier.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_heading_for_link.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_heading_for_link.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_heading_for_link_identifier.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_heading_for_link_identifier.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_headings.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_headings.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_html_nodes.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_html_nodes.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_link_references.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_link_references.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_link_references_for_identifier.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_link_references_for_identifier.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_linkable_for_position-2.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_linkable_for_position-2.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_linkable_for_position.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_linkable_for_position.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_links.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_links.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_next_heading-2.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: src/ast.rs 3 | expression: next_heading_2 4 | --- 5 | None 6 | -------------------------------------------------------------------------------- /src/snapshots/md_lsp__ast__tests__find_next_heading.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__ast__tests__find_next_heading.snap -------------------------------------------------------------------------------- /src/snapshots/md_lsp__state__tests__index_md_files.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/snapshots/md_lsp__state__tests__index_md_files.snap -------------------------------------------------------------------------------- /src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/state.rs -------------------------------------------------------------------------------- /src/symbols.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/src/symbols.rs -------------------------------------------------------------------------------- /testdata/test file c.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/testdata/test file c.md -------------------------------------------------------------------------------- /testdata/test-file-b.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/testdata/test-file-b.md -------------------------------------------------------------------------------- /testdata/test_file_a.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/testdata/test_file_a.md -------------------------------------------------------------------------------- /testdata/testfiled.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /todo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matkrin/md-lsp/HEAD/todo.md --------------------------------------------------------------------------------