Files
zyedidia.micro/internal
Dmytro Maluka 5610d01e08 UpdateRules: fix set filetype unknown
Fix `set filetype unknown` not working as expected in the following
scenario:

1. open foo.txt (no filetype detected) -> ft is `unknown`, highlighted
   with default.yaml, as expected

2. `set filetype go` -> ft is `go`, highlighted with go.yaml as expected

3. `set filetype unknown` -> ft is still `go`, still highlighted with
   go.yaml (whereas expected behavior is: ft is `unknown`, highlighted
   with default.yaml)

Fix that by always updating b.SyntaxDef value, not reusing the old one.

This also makes the code simpler and easier to understand.
2024-04-18 22:39:16 +02:00
..
2024-03-14 03:10:31 +01:00
2024-04-08 12:04:38 +02:00
2023-09-08 23:27:39 -07:00
2024-03-14 03:10:31 +01:00
2024-04-08 12:04:38 +02:00