{"id":23417133,"url":"https://github.com/cyan903/gremlins.nvim","last_synced_at":"2026-05-19T07:33:07.162Z","repository":{"id":268868519,"uuid":"896002804","full_name":"Cyan903/gremlins.nvim","owner":"Cyan903","description":"A Neovim rewrite of the vscode-gremlins extension, designed to reveal unwanted or invisible characters in your code.","archived":false,"fork":false,"pushed_at":"2024-12-19T12:45:55.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T07:35:44.862Z","etag":null,"topics":["gremlin","linter","neovim","neovim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cyan903.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-29T10:54:52.000Z","updated_at":"2024-12-19T12:45:58.000Z","dependencies_parsed_at":"2024-12-19T12:21:56.279Z","dependency_job_id":"d6a3a2a5-c590-4d08-8789-7353672875c9","html_url":"https://github.com/Cyan903/gremlins.nvim","commit_stats":null,"previous_names":["cyan903/gremlins.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cyan903/gremlins.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyan903%2Fgremlins.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyan903%2Fgremlins.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyan903%2Fgremlins.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyan903%2Fgremlins.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cyan903","download_url":"https://codeload.github.com/Cyan903/gremlins.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cyan903%2Fgremlins.nvim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263818922,"owners_count":23516092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gremlin","linter","neovim","neovim-plugin"],"created_at":"2024-12-22T23:13:34.634Z","updated_at":"2025-10-05T20:23:29.161Z","avatar_url":"https://github.com/Cyan903.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gremlins.nvim\n\n![code-size](https://img.shields.io/github/languages/code-size/cyan903/gremlins.nvim) ![last-commit](https://img.shields.io/github/last-commit/cyan903/gremlins.nvim) ![license](https://img.shields.io/github/license/cyan903/gremlins.nvim)\n\nA Neovim rewrite of the [vscode-gremlins](https://marketplace.visualstudio.com/items?itemName=nhoizey.gremlins) extension, designed to reveal unwanted or invisible characters in your code. \n\n## Quickstart with lazy.nvim\n\n```lua\nreturn {\n    \"Cyan903/gremlins.nvim\",\n\n    opts = {},\n\n    config = function(_, opts)\n        local gremlins = require(\"gremlins\")\n\n        -- Open popup.\n        vim.keymap.set(\"n\", \"\u003cleader\u003egs\", gremlins.select, { desc = \"Gremlins select.\" })\n\n        -- Create quickfix list.\n        vim.keymap.set(\"n\", \"\u003cleader\u003egc\", gremlins.qflist, { desc = \"Gremlins quickfix.\" })\n\n        -- Jump to next gremlin.\n        vim.keymap.set(\"n\", \"\u003cleader\u003egj\", gremlins.next, { desc = \"Gremlins next.\" })\n\n        -- Jump to previous gremlin.\n        vim.keymap.set(\"n\", \"\u003cleader\u003egk\", gremlins.prev, { desc = \"Gremlins previous.\" })\n\n        gremlins.setup(opts)\n    end,\n}\n```\n\n## Configuration\n\nThe default configuration is recommended, but custom parameters can be provided through the setup function. Gremlins with a custom file type will only appear in the specified file type. You can view the default config in [config.lua](lua/gremlins/config.lua).\n\n```lua\nrequire(\"gremlins\").setup {\n    icon = \"😈\",\n    gremlins = {\n        -- NOTE: Gremlins can simply be strings.\n        \"2013\",\n\n        -- NOTE: Or be more descriptive with a specified filetype.\n        {\n            name = \"2013\",\n            description = \"en dash\",\n            filetype = \"markdown\",\n        },\n\n        -- NOTE: Multiple filetypes are supported.\n        {\n            name = \"2013\",\n            description = \"en dash\",\n            filetype = { \"markdown\", \"go\" },\n        },\n    }\n}\n```\n\n## API\n\n`.setup()` must be called before the API can be used.\n\n```lua\n-- Open `vim.ui.select` with a list of gremlins in the current file.\nrequire(\"gremlins\").select()\n\n-- Create and open a quickfix list of gremlins in the current file.\nrequire(\"gremlins\").qflist()\n\n-- Jump to previous gremlin in file.\nrequire(\"gremlins\").next()\n\n-- Jump to previous gremlin in file.\nrequire(\"gremlins\").prev()\n```\n\n## License\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyan903%2Fgremlins.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyan903%2Fgremlins.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyan903%2Fgremlins.nvim/lists"}