aboutsummaryrefslogtreecommitdiff
path: root/config/nvim-archive/syntax
diff options
context:
space:
mode:
authorben <ben@nagy.contact>2025-05-03 14:25:55 -0700
committerben <ben@nagy.contact>2025-05-03 14:25:55 -0700
commitdec61653987f584822f87515281e9f82aaac972f (patch)
treef357e6fe4254ceb3da5cff9788127308cc3d8b6f /config/nvim-archive/syntax
parent0670c4910a615244900af884a7919509d99e2176 (diff)
old neovim config
Diffstat (limited to 'config/nvim-archive/syntax')
-rw-r--r--config/nvim-archive/syntax/curses.vim2
-rw-r--r--config/nvim-archive/syntax/libpng.vim42
-rw-r--r--config/nvim-archive/syntax/types.vim15
3 files changed, 59 insertions, 0 deletions
diff --git a/config/nvim-archive/syntax/curses.vim b/config/nvim-archive/syntax/curses.vim
new file mode 100644
index 0000000..4ffbf92
--- /dev/null
+++ b/config/nvim-archive/syntax/curses.vim
@@ -0,0 +1,2 @@
+syn keyword cType chtype
+syn keyword cType WINDOW
diff --git a/config/nvim-archive/syntax/libpng.vim b/config/nvim-archive/syntax/libpng.vim
new file mode 100644
index 0000000..e29ada8
--- /dev/null
+++ b/config/nvim-archive/syntax/libpng.vim
@@ -0,0 +1,42 @@
+syn keyword cType upng32
+syn keyword cType upng16
+
+syn keyword cType png_byte
+syn keyword cType png_bytep
+syn keyword cType png_bytepp
+
+syn keyword cType png_uint_16
+syn keyword cType png_uint_16p
+syn keyword cType png_uint_32
+
+syn keyword cType png_int_16
+syn keyword cType png_int_16p
+syn keyword cType png_int_32
+syn keyword cType png_int_32p
+
+syn keyword cType png_float_32
+syn keyword cType png_float_32p
+syn keyword cType png_float_64
+syn keyword cType png_float_64p
+
+syn keyword cType png_fixed_point
+syn keyword cType png_fixed_point_p
+syn keyword cType png_fixed_point_p
+
+
+syn keyword cType png_color
+syn keyword cType png_colorp
+syn keyword cType png_color_8
+syn keyword cType png_color_8p
+
+syn keyword cType png_info
+syn keyword cType png_infop
+syn keyword cType png_struct
+syn keyword cType png_structp
+syn keyword cType png_voidp
+syn keyword cType png_error_ptr
+syn keyword cType png_rw_ptr
+syn keyword cType png_flush_ptr
+
+syn keyword cType png_read_status_ptr
+syn keyword cType png_write_status_ptr
diff --git a/config/nvim-archive/syntax/types.vim b/config/nvim-archive/syntax/types.vim
new file mode 100644
index 0000000..714ad87
--- /dev/null
+++ b/config/nvim-archive/syntax/types.vim
@@ -0,0 +1,15 @@
+syn keyword cType u8
+syn keyword cType u16
+syn keyword cType u32
+syn keyword cType u64
+
+syn keyword cType i8
+syn keyword cType i16
+syn keyword cType i32
+syn keyword cType i64
+
+syn keyword cType f32
+syn keyword cType f64
+
+syn keyword cType uf32
+syn keyword cType uf64