From c59c79b02c462780028ecbef933b2488b338a4a6 Mon Sep 17 00:00:00 2001 From: Kincaid Savoie Date: Thu, 23 Sep 2021 11:03:00 -0600 Subject: [PATCH 1/2] Add racket/gui to ftdetect languages dict --- ftdetect/racket.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ftdetect/racket.vim b/ftdetect/racket.vim index 4a9ff08..07c9401 100644 --- a/ftdetect/racket.vim +++ b/ftdetect/racket.vim @@ -2,6 +2,7 @@ let g:racket_hash_lang_regexp = '^#lang\s\+\([^][)(}{[:space:]]\+\)' let g:racket_hash_lang_dict = get(g:, 'racket_hash_lang_dict', \ { \ 'racket/base': 'racket', + \ 'racket/gui': 'racket', \ 'typed/racket': 'racket', \ 'typed/racket/base': 'racket', \ 'br': 'racket', From 5637b3e15cc5728569c5d936eb58dfc914cf4867 Mon Sep 17 00:00:00 2001 From: Kincaid Savoie Date: Thu, 23 Sep 2021 15:01:49 -0600 Subject: [PATCH 2/2] add define/override to OOP lispwords --- ftplugin/racket.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/racket.vim b/ftplugin/racket.vim index 7f0358d..a93ce5e 100644 --- a/ftplugin/racket.vim +++ b/ftplugin/racket.vim @@ -15,7 +15,7 @@ setl lispwords+=define-opt/c,define-syntax-rule setl lispwords+=struct " Racket OOP -setl lispwords+=class,define/public,define/private +setl lispwords+=class,define/public,define/private,define/override " kanren setl lispwords+=fresh,run,run*,project,conde,condu