-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable spell checking for parameters and fields? #184
Comments
Thanks for the patch, it makes the editor much less cluttered. I'm all for this landing on the main branch. One thing I noticed: for some reason binding and function names are still being highlighted. Unfortunately I don't have time to debug that. Leaving the code snippet in case someone wants to test it: update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
GotFiles files ->
let
validatedFiles =
Nonempty.map validateMimeType files
ticketStatuses =
Nonempty.map
(\validationResult ->
case validationResult of
Ok _ ->
Parsing
Err parseError ->
Failure parseError
)
validatedFiles
cmds =
Cmd.batch <|
Nonempty.toList <|
Nonempty.indexedMap
(\index validationResult ->
case validationResult of
Ok file ->
parsePdf ( index, file )
Err _ ->
Cmd.none
)
validatedFiles
in
( { model
| pageStatus = ShowingTickets ticketStatuses
, hasHover = False
}
, cmds
) |
Hey. It's been so long, I had forgotten about this. |
I've noticed that in the following code,
Vim shows
msg
andurl
as misspelled. I've been able to work around this by modifying the syntax rules, you can see the patched syntax files on my fork.Is this spell checking intentional? Can I submit my patch as a PR is this is indeed a bug?
The text was updated successfully, but these errors were encountered: