mirror of
https://github.com/pnx/dotfiles
synced 2026-06-18 20:10:03 +02:00
nvim: blade is now officially in nvim-treesitter
This commit is contained in:
parent
d4a29b99b9
commit
4992b19c44
2 changed files with 1 additions and 10 deletions
|
|
@ -50,15 +50,6 @@ return {
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||||
|
|
||||||
parser_config.blade = {
|
|
||||||
install_info = {
|
|
||||||
url = "https://github.com/EmranMR/tree-sitter-blade",
|
|
||||||
branch = "main",
|
|
||||||
files = { "src/parser.c" },
|
|
||||||
},
|
|
||||||
filetype = "blade",
|
|
||||||
}
|
|
||||||
|
|
||||||
parser_config.dotenv = {
|
parser_config.dotenv = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/pnx/tree-sitter-dotenv",
|
url = "https://github.com/pnx/tree-sitter-dotenv",
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ return {
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = { "php", "php_only", "phpdoc", "sql", "csv" }
|
ensure_installed = { "php", "blade", "php_only", "phpdoc", "sql", "csv" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue