Skip to content

SushyDev/tailwind-linter.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

tailwind-linter.nvim

Checks content inside class="" to see if it matches the tailwind class order (taken from headwind)

Fix sort order command

:TailwindLinterFix

Example install for lazy

return {
    'SushyDev/tailwind-linter.nvim',
    config = function ()
        require('tailwind-linter').setup({})
    end
}

Options

{
    prefix = "", --message prefix
    message = "Tailwind classes are not in the correct order.", --message
    type = "@error", --highlight group
    languages = { "html", "php" },
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages