Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Formatting and diagnostics for Puppet in Neovim #727

Discussion options

You must be logged in to vote

Syntax highlighting isn't something we support yet, but it looks like we have sources for diagnostics and formatting using puppet-lint. You can see the README and the built-in documentation to learn how to set them up and use them, but the minimal config you'll need to register them is this:

local null_ls = require("null-ls")

null_ls.setup({
    sources = {
        null_ls.builtins.diagnostics.puppet_lint,
        null_ls.builtins.formatting.puppet_lint,
    },
})

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jose-elias-alvarez
Comment options

@pauljacobson
Comment options

Answer selected by pauljacobson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants