Comments (3)
there are seperate queries and a different grammar for tsx:
Lines 790 to 803 in 38e6fcd
instead you can just have:
[[language]]
name = "typescript"
language-servers = ["deno-lsp", "tailwindcss-ls"]
[[language]]
name = "tsx"
language-servers = ["deno-lsp", "tailwindcss-ls"]
[[language]]
name = "javascript"
language-servers = ["deno-lsp", "tailwindcss-ls"]
[[language]]
name = "jsx"
language-servers = ["deno-lsp", "tailwindcss-ls"]
from helix.
Please output the result of hx --health
from helix.
Please output the result of hx --health
This is my languages.toml
:
[[language]]
name = "typescript"
language-id = "typescript"
scope = "source.ts"
injection-regex = "^(ts|typescript)$"
file-types = ["ts", "tsx", "js", "jsx"]
shebangs = ["deno"]
roots = ["deno.json", "deno.jsonc", "package.json"]
language-servers = ["deno-lsp", "tailwindcss-ls"]
[language-server.deno-lsp]
command = "deno"
args = ["lsp"]
[language-server.deno-lsp.config.deno]
enable = true
[language-server.tailwindcss-ls]
command = "tailwindcss-language-server"
args = ["--stdio"]
config = { userLanguages = { astro = "html", "*.astro" = "html" } }
[language-server.astro-ls]
command = "astro-ls"
args = ["--stdio"]
config = { typescript = { tsdk = "/root/.pnpm-global/global/5/node_modules/typescript/lib/" }}
[[language]]
name = "astro"
scope = "source.astro"
injection-regex = "astro"
file-types = ["astro"]
language-servers = ["astro-ls", "tailwindcss-ls"]
from helix.
Related Issues (20)
- Create directory if not exist when move buffer
- Configurable language server close timeout HOT 1
- Allow insertion of file paths with autocomplete HOT 1
- Running select_register from command palette prompts for parameter but fails silently HOT 1
- Count modifier doesn't work properly when remapping with multiple commands HOT 1
- Fix lisp style indentation markers
- Nix build from master fails due to invalid HEAD revision for gabmus/tree-sitter-blueprint
- Error types of Zig are messing the buffer HOT 2
- Is that possible to show CR and LF chars separately?
- Small mistake in build instructions `Note for packager` HOT 3
- Add support for jdtls' class-file-contents feature HOT 1
- can't save file rightly
- Clickable bufferline HOT 1
- Prioritize home row keys for `goto_word`
- shell_pipe (`|`) chomps final newline HOT 4
- certain indentiations breaks the "formatting" in odin
- Key info position config
- clipboard provider wl-copy failed HOT 1
- C/C++ LSP doesn't grey out or otherwise indicate sections disabled by preprocessor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.