Skip to content

Remove {} from iskeyword#189

Merged
4e554c4c merged 2 commits intoagda:masterfrom
Soares:isk
Jan 22, 2026
Merged

Remove {} from iskeyword#189
4e554c4c merged 2 commits intoagda:masterfrom
Soares:isk

Conversation

@Soares
Copy link
Contributor

@Soares Soares commented Dec 26, 2025

Removes curly braces from iskeyword. Probably unicode ranges should also be added to iskeyword so that symbols like ≡ are recognized by (n)vim as legal parts of names, but I can't be bothered to check what unicode ranges to add or how unicode ranges in iskeyword interact with the file encoding (to make sure it works cross-platform), and this is a quick and easy fix.

Agda returns 'datatype', not 'type', as the name of datatypes.
CornelisType in Pretty.hs will not apply to these (via toAtomName)
unless it's named CornelisDatatype.

This is the simplest fix. One could add a CornelisType syntax group that
both CornelisDatatype and CornelisRecord link to, which might be a
little more backwards-compatible with people who do highlight linking
around CornelisType. But my guess is that CornelisType has never worked
(see agda#153) and so I'm not worrying about backwards compatibility.
@4e554c4c 4e554c4c merged commit 8401538 into agda:master Jan 22, 2026
@4e554c4c
Copy link
Collaborator

thanks!

@Soares
Copy link
Contributor Author

Soares commented Jan 26, 2026

I just glanced over this in my inbox, and I realize that my PR had two commits, one of which fixed a different bug. My mistake; sorry. You may wish to look it over and make sure you also want the other bug fix, and/or revert one commit and have me submit a different PR for that (for bookkeeping reasons).

@4e554c4c
Copy link
Collaborator

it's alright i thought both should be included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants