diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-03-19 11:51:00 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-03-19 14:58:06 +0100 |
| commit | 42f04699d6df2d5b144533737a8f2f7e0814ad85 (patch) | |
| tree | 3d69b94c221e3b91749b7f09b7f4da89839206ca /vis.h | |
| parent | 8919fd1cbeef89aa3a5fce9c00aa708335e1de85 (diff) | |
| download | vis-42f04699d6df2d5b144533737a8f2f7e0814ad85.tar.gz vis-42f04699d6df2d5b144533737a8f2f7e0814ad85.tar.xz | |
Move :set syntax option implementation to lua
It is no longer possible to change the used syntax by assigning to the
`win.syntax = name` field, instead the function win:set_syntax(name)`
should be called.
The distinction between filetype and syntax lexer to use should probably
be clarified/cleaned up at some point.
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -52,7 +52,6 @@ typedef struct { void (*win_open)(Vis*, Win*); void (*win_close)(Vis*, Win*); void (*win_highlight)(Vis*, Win*, size_t horizon); - bool (*win_syntax)(Vis*, Win*, const char *syntax); void (*win_status)(Vis*, Win*); } VisEvent; @@ -128,9 +127,6 @@ void vis_window_focus(Win*); /* swap location of two windows */ void vis_window_swap(Win*, Win*); -const char *vis_window_syntax_get(Win*); -bool vis_window_syntax_set(Win*, const char *name); - int vis_window_width_get(const Win*); int vis_window_height_get(const Win*); |
