aboutsummaryrefslogtreecommitdiff
path: root/ring-buffer.c
diff options
context:
space:
mode:
authorJosh Wainwright <wainwright.ja@gmail.com>2016-03-23 11:12:54 +0000
committerMarc André Tanner <mat@brain-dump.org>2016-03-23 14:30:28 +0100
commitc0fd94ec7cbd6ceca3a62baa47920816540fb553 (patch)
treeda992a5ea76106135685e0f3683328f7c5b00cd4 /ring-buffer.c
parenta2c74204c99416fb37e5de815eb5d02fc2e98f93 (diff)
downloadvis-c0fd94ec7cbd6ceca3a62baa47920816540fb553.tar.gz
vis-c0fd94ec7cbd6ceca3a62baa47920816540fb553.tar.xz
visrc: Move filetype detection to separate function
I hadn't noticed the `return;` line when a filetype match is found so couldn't get my additions to this function to work. Moving the detection to a separate function keeps that isolated and indicates that other functions can be called from the same `vis.events.win_open` hook.
Diffstat (limited to 'ring-buffer.c')
0 files changed, 0 insertions, 0 deletions