Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 5e00d78

Browse files
init: treat ClojureDart .cljd files as Clojure files
Use Clojure syntax highlighting for Clojure dart files
1 parent bf06a6b commit 5e00d78

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- tools: add alex config with ignored words
88
- options: set font family and size explicitly for Neovide
99
- snippet: update post-header for weekly update
10+
- init: treat ClojureDart .cljd files as Clojure files (syntax highlighting)
1011

1112

1213
# 2023-11-13

init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,7 @@ return {
9999
-- callback = function() vim.bo.commentstring = ";; %s" end,
100100
-- desc = "Lisp style line comment",
101101
-- })
102+
-- ClojureDart files as Clojure file type for highlighting
103+
vim.cmd "au! BufRead,BufNewFile *.cljd setfiletype clojure"
102104
end,
103105
}

0 commit comments

Comments
 (0)