Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.toml files are not supported #177

Open
ashrasmun opened this issue Oct 14, 2019 · 3 comments
Open

.toml files are not supported #177

ashrasmun opened this issue Oct 14, 2019 · 3 comments

Comments

@ashrasmun
Copy link

Hello,

I've just installed vim-toml via vim-plug for TOML file highlighting. Installation finished with success, but when I restart GVim and go to .toml files, I cannot see any syntax highlighting.

Here's my Vim :version
image

I can see the .ini syntax highlighting by default, but I lost all of it when switching to toml. Files with toml extension are supported by default :colorschemes, like blue or darkblue.

Kind Regards.

@arcticicestudio arcticicestudio self-assigned this Oct 15, 2019
@arcticicestudio arcticicestudio added the hacktoberfest This repository participates in the Hacktoberfest label Oct 8, 2020
@arcticicestudio arcticicestudio removed the hacktoberfest This repository participates in the Hacktoberfest label Nov 13, 2020
@jaskij
Copy link

jaskij commented Nov 26, 2020

Works almost fine for me. Vim 8.2, current versions of nord-vim and cespare/vim-toml.

There is a problem with Title syntax though.

Edit: I just noticed that I'm on the (default) develop branch.

@svengreb
Copy link
Member

Thank you for your patience! 🙏🏼
It‘s been a while since I had free time to focus more on Nord, and my open source projects in general, and invest time in this issue due to work-life balance.

I recently published the first “Northern Post — The state and roadmap of Nord“ announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a “clean state“. Read the announcement about reaching the “clean“ contribution triage state in Nord‘s discussions for more details about the goal.

Therefore it has been added for triage in the central and single-source-of-truth project board that is also described in more detail in the roadmap announcement.

@ashrasmun Since there has been some time without further communication, it would be great if you could quickly give some feedback if the highlighting works now. I looks likes Vim natively supports TOML syntax since almost two years (first time supported as of version v8.2.3520) by shipping the cespare/vim-toml plugin that @jaskij also mentioned.
I quickly checked it and most elements work out-of-the-box, but some require explicit support to get the correct Nord style.

@jaskij
Copy link

jaskij commented May 31, 2023

@svengreb I have an ancient fork fixing those TOML tables here: main...jaskij:nord-vim:fix-toml-tables, but it's far, far behind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: triage
Development

No branches or pull requests

4 participants