A dedicated Neovim plugin for Stationeers IC10 (Integrated Circuit) language support.
- File Detection: Automatically detects
*.ic10files. - Syntax Highlighting: Simple vim-style syntax highlighting.
- LSP: Autocomplete: Instructions, Registers (r0-r15, d0-d5), Labels (for branch instructions), and Logic Types/Properties.
- LSP: Go to Definition: Jump to label definitions.
- LSP: Hover: Documentation for all instructions and in-game Logic Types (e.g.,
Pressure,RatioOxygen). - LSP: Rename: Rename aliases, defines and labels.
- LSP: References: Find usages of labels or variables.
- LSP: Diagnostics: Support for error validation (e.g., Max number of instructions, duplicated variables...)
Using lazy.nvim:
return {
"Pesterenan/ic10.nvim",
ft = "ic10",
config = function()
require("ic10").setup({
debug = false -- Set to true to enable event logs
})
end,
}Just open any .ic10 file. The plugin will automatically attach the LSP and setup syntax highlighting.
K: Hover documentation.gd: Go to definition (for labels).grr: Go to references.grn: Rename symbol.Ctrl-n/Ctrl-p: Next or Previous Autocomplete.