فهرست منبع

feat: Add PRQL

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.

https://prql-lang.org/
https://github.com/PRQL/prql

Signed-off-by: Jonathan <vanillajonathan@users.noreply.github.com>

feat: Add PRQL

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.

https://prql-lang.org/
https://github.com/PRQL/prql
Jonathan 2 سال پیش
والد
کامیت
20c8c208bc
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      src/info/filetype.rs
  2. 1 0
      src/output/icons.rs

+ 1 - 0
src/info/filetype.rs

@@ -344,6 +344,7 @@ const EXTENSION_TYPES: Map<&'static str, FileType> = phf_map! {
     "pm"         => FileType::Source, // Perl
     "pod"        => FileType::Source, // Perl
     "pp"         => FileType::Source, // Puppet
+    "prql"       => FileType::Source, // PRQL
     "ps1"        => FileType::Source, // PowerShell
     "psd1"       => FileType::Source, // PowerShell
     "psm1"       => FileType::Source, // PowerShell

+ 1 - 0
src/output/icons.rs

@@ -602,6 +602,7 @@ const EXTENSION_ICONS: Map<&'static str, char> = phf_map! {
     "ppt"            => Icons::SLIDE,            // 
     "pptx"           => Icons::SLIDE,            // 
     "properties"     => Icons::JSON,             // 
+    "prql"           => Icons::DATABASE,         // 
     "ps"             => Icons::VECTOR,           // 󰕙
     "ps1"            => Icons::POWERSHELL,       // 
     "psd"            => '\u{e7b8}',              // 