LSP
LSP copied to clipboard
Feature Request: Add Support for Taplo for TOML Files
Is your feature request related to a problem? Please describe.
Currently, the LSP packages does not include a Language Server for TOML files.
Describe the solution you'd like
Please publish a new package which based on the taplo library (https://github.com/tamasfe/taplo) to provide Language Server functionality for TOML files within Sublime Text.
Describe alternatives you've considered
An alternative solution would be to update the document of sublime LSP on how taplo can be configured
Additional context
taplo: taplo is a TOML toolkit written in Rust that includes a parser, formatter, and analyzer. It provides comprehensive support for the TOML 1.0.0 specification and is actively maintained.
An alternative solution would be to update the document of sublime LSP on how taplo can be configured
https://github.com/jfcherng-sublime/ST-my-settings/blob/0146cc3e1bef21794d74962a073b4ab89c629a67/Packages/User/LSP.sublime-settings#L51-L55
An alternative solution would be to update the document of sublime LSP on how taplo can be configured
https://github.com/jfcherng-sublime/ST-my-settings/blob/0146cc3e1bef21794d74962a073b4ab89c629a67/Packages/User/LSP.sublime-settings#L51-L55
Before posting this, I installed taplo via scoop and Sublime Text throws NotADirectoryError after trying the same configuration as yours. So I turned to GitHub for help. So how did you install taplo?
An alternative solution would be to update the document of sublime LSP on how taplo can be configured
jfcherng-sublime/ST-my-settings@
0146cc3/Packages/User/LSP.sublime-settings#L51-L55Before posting this, I installed taplo via scoop and Sublime Text throws
NotADirectoryErrorafter trying the same configuration as yours. So I turned to GitHub for help. So how did you install taplo?
I just download the exe file (e.g., Linux from https://github.com/tamasfe/taplo/releases/download/0.9.3/taplo-full-linux-x86_64.gz and Windows from https://github.com/tamasfe/taplo/releases/download/0.9.3/taplo-full-windows-x86_64.zip ) and make it foundable via PATH env.
Sublime Text throws
NotADirectoryError
I can't figure out why a NotADirectoryError under any circumstance. A screenshot or full trackback message may help.
I think it might caused by the unusual pattern which used by scoop to install apps. however executing
taplo lsp stdio in the terminal can successfuly start the process.
Provided by LSP-taplo helper package.