meta.property-list.css missing in Tree-sitter
Arcanemagus opened this issue · comments
Landon Abney commented
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Property lists are missing the meta.property-list.css
scope, leading to issues like autocomplete-css
not giving any suggestions.
Steps to Reproduce
- As the Tree-sitter CSS grammar is currently only enabled in HTML
<style>
blocks, fist create an HTML file in Atom with the following contents:<style media="screen"> .class { margin: 0 auto; } </style>
- Place the cursor anywhere within the list of properties (e.g. line 3)
- Run the
Editor: Log Cursor Scopes
command
Expected behavior:
A list of scopes that includes meta.property-list.css
, such as this from the TextMate grammar:
Actual behavior:
Missing meta.property-list.css
:
Reproduces how often:
100% of the time.
Versions
OS: Windows 10 x64
Atom : 1.34.0-nightly9
Electron: 2.0.12
Chrome : 61.0.3163.100
Node : 8.9.3
apm 2.1.3
npm 6.2.0
node 8.9.3 x64
atom 1.34.0-nightly9
python 2.7.15
git 2.19.1.windows.1
visual studio 2015
Additional Information
Originally brought up by @Yurickh in atom/atom#18327 (comment).
Linus Eriksson commented
Is this an issue with other tree-sitter grammars? In addition to language-css.
Geoffrey Bonneville commented
@Ben3eeE any news about this ? IIUC work need to be done in https://github.com/atom/autocomplete-css. Can you share some details to get potential contributors on board please ?