From dec61653987f584822f87515281e9f82aaac972f Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 3 May 2025 14:25:55 -0700 Subject: old neovim config --- config/nvim-archive/syntax/curses.vim | 2 ++ config/nvim-archive/syntax/libpng.vim | 42 +++++++++++++++++++++++++++++++++++ config/nvim-archive/syntax/types.vim | 15 +++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 config/nvim-archive/syntax/curses.vim create mode 100644 config/nvim-archive/syntax/libpng.vim create mode 100644 config/nvim-archive/syntax/types.vim (limited to 'config/nvim-archive/syntax') 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 -- cgit v1.2.3