mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-01 11:24:40 +00:00
vim compiler plugin for ghostty filetype - validates config
`:make` will call `ghostty +validate-config` and populate the quickfix list with the errors that can be navigated to (e.g. with `:cnext`) `:h write-compiler-plugin`, and neovim's built in ftplugin/ and compiler/ plugins were used as references
This commit is contained in:
@@ -615,6 +615,7 @@ pub fn build(b: *std.Build) !void {
|
||||
_ = wf.add("syntax/ghostty.vim", config_vim.syntax);
|
||||
_ = wf.add("ftdetect/ghostty.vim", config_vim.ftdetect);
|
||||
_ = wf.add("ftplugin/ghostty.vim", config_vim.ftplugin);
|
||||
_ = wf.add("compiler/ghostty.vim", config_vim.compiler);
|
||||
b.installDirectory(.{
|
||||
.source_dir = wf.getDirectory(),
|
||||
.install_dir = .prefix,
|
||||
@@ -631,6 +632,7 @@ pub fn build(b: *std.Build) !void {
|
||||
_ = wf.add("syntax/ghostty.vim", config_vim.syntax);
|
||||
_ = wf.add("ftdetect/ghostty.vim", config_vim.ftdetect);
|
||||
_ = wf.add("ftplugin/ghostty.vim", config_vim.ftplugin);
|
||||
_ = wf.add("compiler/ghostty.vim", config_vim.compiler);
|
||||
b.installDirectory(.{
|
||||
.source_dir = wf.getDirectory(),
|
||||
.install_dir = .prefix,
|
||||
|
||||
Reference in New Issue
Block a user