Skip to content

Commit

Permalink
feat(pack): add Nextflow language pack
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Oct 24, 2024
1 parent 99cd785 commit 58863a1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lua/astrocommunity/pack/nextflow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Nextflow Language Pack

This plugin pack does the following:

- Sets up `nextflow` filetype
- Adds `nextflow` treesitter parsers
- Adds `nextflow` icons to `mini.icons`
21 changes: 21 additions & 0 deletions lua/astrocommunity/pack/nextflow/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---@type LazySpec
return {
{
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = { filetypes = { extension = {
nf = "nextflow",
["nf.test"] = "nextflow",
} } },
},
{ "nextflow-io/vim-language-nextflow", ft = "nextflow" },
{
"echasnovski/mini.icons",
optional = true,
opts = {
filetype = {
nextflow = { glyph = "󰉛", hl = "MiniIconsGreen" },
},
},
},
}

0 comments on commit 58863a1

Please sign in to comment.