about summary refs log tree commit diff stats
path: root/mu.vim
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-05 01:17:52 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-05 01:17:52 -0800
commit4ef29dc9d537402cd58c260638e0536d0967457e (patch)
tree419a4b048795bc78847e05ea9591a5aa50f840ea /mu.vim
parentfcdd9238cb5f03348a0a208f0d3a44e1cf8013ef (diff)
downloadmu-4ef29dc9d537402cd58c260638e0536d0967457e.tar.gz
7337 - tile: jumping to a function
We can't yet edit the function once we jump to it.
Diffstat (limited to 'mu.vim')
-rw-r--r--mu.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/mu.vim b/mu.vim
index 22c175af..308c5968 100644
--- a/mu.vim
+++ b/mu.vim
@@ -61,10 +61,10 @@ syntax match muKeyword " -> "
 syntax keyword muKeyword fn sig type var
 highlight link muKeyword PreProc
 
-syntax match muFunction "\(fn\s*\)\@<=\(\S\+\)"
+syntax match muFunction "\(fn\s\+\)\@<=\(\S\+\)"
 highlight link muFunction Identifier
 
-syntax match muTest "\(fn\s*\)\@<=\(test-\S\+\)"
+syntax match muTest "\(fn\s\+\)\@<=\(test-\S\+\)"
 highlight link muTest Identifier
 
 syntax match muData "^type\>"