-
Notifications
You must be signed in to change notification settings - Fork 99
Completion and highlighting for builtin modules #140
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
base: master
Are you sure you want to change the base?
Completion and highlighting for builtin modules #140
Conversation
This looks like a great addition, thanks for getting a PR together! Two quick things:
(I should be much faster to respond now, I was out of town on a trip last week) |
…lighting-for-builtin-modules' into completion-and-highlighting-for-builtin-modules
Hi, I first had to fix a bug where completion did not work when the cursor was not at the end of the line. The highlight group is now overridable with The |
general goal
Adding support for ansible builtin modules.
changes
highlighting
In the current syntax highlighting you cannot see if the builtin modules typed into the editor actually exist.
Also the modules
debug
andshell
are highlighted in different colors.With support for the builtin modules you can instantly detect typos:

completion
After the pattern

ansible.builtin.
autocompletion can be used with an omni function.(ctrl + x + o)