{"id":29188778,"url":"https://github.com/techwritescode/ca65-lsp","last_synced_at":"2025-07-01T22:37:08.855Z","repository":{"id":265327230,"uuid":"895673189","full_name":"techwritescode/ca65-lsp","owner":"techwritescode","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-29T18:16:12.000Z","size":717,"stargazers_count":4,"open_issues_count":11,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-29T19:23:28.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techwritescode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-11-28T16:48:09.000Z","updated_at":"2025-06-29T18:16:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"811c5462-c8b2-4e71-a5f1-fc520ed09b8d","html_url":"https://github.com/techwritescode/ca65-lsp","commit_stats":null,"previous_names":["simonhochrein/asm6502-lsp","simonhochrein/ca65-lsp","techwritescode/ca65-lsp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techwritescode/ca65-lsp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Fca65-lsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Fca65-lsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Fca65-lsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Fca65-lsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techwritescode","download_url":"https://codeload.github.com/techwritescode/ca65-lsp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techwritescode%2Fca65-lsp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263047554,"owners_count":23405278,"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":[],"created_at":"2025-07-01T22:37:08.190Z","updated_at":"2025-07-01T22:37:08.822Z","avatar_url":"https://github.com/techwritescode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CA65 Assembly Language Server\n\nca65-lsp is a language server, parser, and semantic analyzer for the [CA65](https://cc65.github.io/doc/ca65.html)\nassembly dialect. It is part of ongoing efforts to improve tooling for the 6502 processor family.\n\n\u003e Note: This project is in active development. Some features may not work fully, others at all. Please watch/star the\n\u003e project to stay up to date!\n\n## Quick Start\n\nTBD\n\n## Editor Setup\n\n- [VSCode](https://github.com/techwritescode/ca65-code)\n- [Zed](https://github.com/techwritescode/ca65-zed)\n- Neovim\n  ```lua\n  -- init.lua\n  require 'lspconfig.configs'.ca65 = {\n  \tdefault_config = {\n  \t\tcmd = { \"/path/to/ca65-lsp\" },\n  \t\tfiletypes = { \"s\", \"asm\" },\n  \t\troot_dir = require 'lspconfig'.util.root_pattern('ca65.toml')\n  \t}\n  }\n  require 'lspconfig'.ca65.setup{}\n  ```\n- Helix\n    - If it doesn't already exist, create a [\n      `languages.toml` file](https://docs.helix-editor.com/languages.html#languagestoml-files). I put mine in\n      my [config directory](https://docs.helix-editor.com/configuration.html) which for me (on Windows 11) is\n      `~/AppData/Roaming/helix/`\n    - Add the following to it:\n      ```toml\n      # languages.toml\n      [language-server.ca65-lsp]\n      command = \"ca65-lsp\"\n      \n      [[language]]\n      name = \"ca65\"\n      scope = \"source.s\"\n      comment-tokens = \";\"\n      file-types = [ \"ca65\", \"s\", \"asm\" ]\n      language-servers = [ \"ca65-lsp\" ]\n      \n      [[grammar]]\n      name = \"ca65\"\n      source = { git = \"https://github.com/techwritescode/tree-sitter-ca65\", rev = \"9e73befb5c3c6852f905964c22740c9605b03af8\" }\n      ```\n    - To get syntax highlighting working\n        - Navigate to `\u003cyour helix install directory\u003e/runtime/queries/`\n        - Create a directory called `ca65`\n        - Copy `highlights.scm` from the `techwritescode/tree-sitter-ca65` repo, under `queries/ca65/`, into the `ca65`\n          directory you just created\n        - You may need to run\n          ```bash\n          hx --grammar fetch \u0026\u0026 hx --grammar build\n          ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwritescode%2Fca65-lsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechwritescode%2Fca65-lsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwritescode%2Fca65-lsp/lists"}