-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
114 additions
and
6 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
home/dot_config/exact_nvim/exact_after/exact_ftplugin/blade.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vim.bo.commentstring = '{{-- %s --}}' |
1 change: 1 addition & 0 deletions
1
home/dot_config/exact_nvim/exact_after/exact_ftplugin/markdown.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vim.bo.commentstring = '<!-- %s -->' |
1 change: 1 addition & 0 deletions
1
home/dot_config/exact_nvim/exact_after/exact_ftplugin/markdown_inline.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vim.bo.commentstring = '<!-- %s -->' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vim.bo.commentstring = '// %s' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vim.bo.commentstring = '<!-- %s -->' |
36 changes: 36 additions & 0 deletions
36
home/dot_config/exact_nvim/exact_after/exact_queries/exact_html/injections.scm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
;; extends | ||
|
||
; AlpineJS attributes | ||
(attribute | ||
(attribute_name) @_attr | ||
(#lua-match? @_attr "^x%-%l") | ||
(#not-any-of? @_attr "x-teleport" "x-ref" "x-transition") | ||
(quoted_attribute_value | ||
(attribute_value) @injection.content) | ||
(#set! injection.language "javascript")) | ||
|
||
; Blade escaped JS attributes | ||
; <x-foo ::bar="baz" /> | ||
(element | ||
(_ | ||
(tag_name) @_tag | ||
(#lua-match? @_tag "^x%-%l") | ||
(attribute | ||
(attribute_name) @_attr | ||
(#lua-match? @_attr "^::%l") | ||
(quoted_attribute_value | ||
(attribute_value) @injection.content) | ||
(#set! injection.language "javascript")))) | ||
|
||
; Blade PHP attributes | ||
; <x-foo :bar="$baz" /> | ||
(element | ||
(_ | ||
(tag_name) @_tag | ||
(#lua-match? @_tag "^x%-%l") | ||
(attribute | ||
(attribute_name) @_attr | ||
(#lua-match? @_attr "^:%l") | ||
(quoted_attribute_value | ||
(attribute_value) @injection.content) | ||
(#set! injection.language "php_only")))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
home/dot_config/exact_nvim/exact_lua/exact_plugins/laravel.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
return { | ||
{ | ||
'ricardoramirezr/blade-nav.nvim', | ||
ft = { 'blade', 'blade.php' }, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
home/dot_config/exact_nvim/exact_queries/exact_blade/highlights.scm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(directive) @tag | ||
(directive_start) @tag | ||
(directive_end) @tag | ||
(comment) @comment @spell |
16 changes: 16 additions & 0 deletions
16
home/dot_config/exact_nvim/exact_queries/exact_blade/injections.scm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
((text) @injection.content | ||
(#not-has-ancestor? @injection.content "envoy") | ||
(#set! injection.combined) | ||
(#set! injection.language php)) | ||
|
||
((text) @injection.content | ||
(#has-ancestor? @injection.content "envoy") | ||
(#set! injection.combined) | ||
(#set! injection.language bash)) | ||
|
||
|
||
((php_only) @injection.content | ||
(#set! injection.combined) | ||
(#set! injection.language php_only)) | ||
((parameter) @injection.content | ||
(#set! injection.language php_only)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ golang 1.23.1 | |
lua 5.1 | ||
deno 1.46.3 | ||
just 1.36.0 | ||
{{- if not $isWork }} | ||
php 8.3.12 | ||
{{- end }} |