Skip to content

Commit f67636b

Browse files
foxyseta4e554c4c
authored andcommitted
doc: run spellchecker on project
1 parent d18cb7c commit f67636b

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/Cornelis/Types/Agda.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,6 @@ intervalsToRange :: a -> [IntervalWithoutFile] -> Range' a
310310
intervalsToRange _ [] = NoRange
311311
intervalsToRange f is = Range f (Seq.fromList is)
312312

313-
mkAbsPathRnage :: Text -> IntervalWithoutFile -> Range
314-
mkAbsPathRnage = intervalToRange . Just . AbsolutePath . T.unpack
313+
mkAbsPathRange :: Text -> IntervalWithoutFile -> Range
314+
mkAbsPathRange = intervalToRange . Just . AbsolutePath . T.unpack
315315

src/Plugin.hs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ solveOne _ ms = withNormalizationMode ms $ \mode ->
147147
Cmd_solveOne
148148
mode
149149
(ip_id ip)
150-
(mkAbsPathRnage fp $ ip_interval' ip)
150+
(mkAbsPathRange fp $ ip_interval' ip)
151151
""
152152

153153
autoOne :: CommandArguments -> Maybe String -> Neovim CornelisEnv ()
@@ -160,7 +160,7 @@ autoOne _ ms = withNormalizationMode ms $ \mode ->
160160
Cmd_autoOne
161161
mode
162162
(ip_id ip)
163-
(mkAbsPathRnage fp $ ip_interval' ip)
163+
(mkAbsPathRange fp $ ip_interval' ip)
164164
(T.unpack t)
165165

166166
withNormalizationMode :: Maybe String -> (Rewrite -> Neovim CornelisEnv ()) -> Neovim CornelisEnv ()
@@ -189,7 +189,7 @@ typeContext _ ms = withNormalizationMode ms $ \mode ->
189189
Cmd_goal_type_context
190190
mode
191191
(ip_id goal)
192-
(mkAbsPathRnage fp $ ip_interval' goal)
192+
(mkAbsPathRange fp $ ip_interval' goal)
193193
""
194194

195195
typeContextInfer :: CommandArguments -> Maybe String -> Neovim CornelisEnv ()
@@ -202,7 +202,7 @@ typeContextInfer _ ms = withNormalizationMode ms $ \mode ->
202202
$ Cmd_goal_type_context_infer
203203
mode
204204
(ip_id ip)
205-
(mkAbsPathRnage fp $ ip_interval' ip)
205+
(mkAbsPathRange fp $ ip_interval' ip)
206206
$ T.unpack contents
207207

208208
doRefine :: CommandArguments -> Neovim CornelisEnv ()
@@ -251,7 +251,7 @@ elaborate mode = withAgda $ void $ withGoalAtCursor $ \b ip -> do
251251
$ Cmd_elaborate_give
252252
mode
253253
(ip_id ip)
254-
(mkAbsPathRnage fp $ ip_interval' ip)
254+
(mkAbsPathRange fp $ ip_interval' ip)
255255
$ T.unpack t
256256

257257
doTypeInfer :: CommandArguments -> Maybe String -> Neovim CornelisEnv ()
@@ -292,7 +292,7 @@ doNormalize _ ms = withComputeMode ms $ \mode ->
292292
$ Cmd_compute
293293
mode
294294
(ip_id ip)
295-
(mkAbsPathRnage fp $ ip_interval' ip)
295+
(mkAbsPathRange fp $ ip_interval' ip)
296296
$ T.unpack t
297297

298298
helperFunc :: Rewrite -> Text -> Neovim CornelisEnv ()
@@ -304,7 +304,7 @@ helperFunc mode expr = do
304304
$ Cmd_helper_function
305305
mode
306306
(ip_id ip)
307-
(mkAbsPathRnage fp $ ip_interval' ip)
307+
(mkAbsPathRange fp $ ip_interval' ip)
308308
$ T.unpack expr
309309

310310
doHelperFunc :: CommandArguments -> Maybe String -> Neovim CornelisEnv ()
@@ -327,7 +327,7 @@ caseSplit thing = withAgda $ void $ withGoalAtCursor $ \b ip -> do
327327
flip runIOTCM agda
328328
$ Cmd_make_case
329329
(ip_id ip)
330-
(mkAbsPathRnage fp $ ip_interval' ip)
330+
(mkAbsPathRange fp $ ip_interval' ip)
331331
$ T.unpack thing
332332

333333
getVersion :: Neovim CornelisEnv ()

syntax/agda.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let s:cpo_save = &cpo
1111
set cpo&vim
1212

1313
" The following sets up syntax highlighting by linking
14-
" pluging highlight groups to default highlight groups.
14+
" plugin highlight groups to default highlight groups.
1515

1616
" Highlight of a hole.
1717
hi def link CornelisHole Todo

0 commit comments

Comments
 (0)