mirror of https://github.com/Wilfred/difftastic/
extend highlight queries
parent
8e9ab7232a
commit
4a235170c5
@ -0,0 +1,6 @@
|
||||
; Comments
|
||||
((line_comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((block_comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
||||
let f x = x + 1
|
||||
// <- keyword.function
|
||||
// ^ function
|
||||
// ^ variable.parameter
|
||||
// ^ operator
|
||||
// ^ variable
|
||||
// ^ operator
|
||||
// ^ number
|
||||
@ -1,9 +1,9 @@
|
||||
#r "nuget: FSharp.Compiler.Service, 43.7.300"
|
||||
//<- keyword.control.import
|
||||
//<- keyword.import
|
||||
// ^ string
|
||||
#r "/home/bin/MyApp.dll"
|
||||
//<- keyword.control.import
|
||||
//<- keyword.import
|
||||
// ^ string
|
||||
#load "Strings.fsx"
|
||||
//<- keyword.control.import
|
||||
//<- keyword.import
|
||||
// ^ string
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
type A = int
|
||||
//<- keyword.storage
|
||||
//<- keyword.type
|
||||
// ^ type.definition
|
||||
|
||||
|
||||
Loading…
Reference in New Issue