Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XQuery: common .xqm suffix added #1971

Merged
merged 1 commit into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
XQuery: .xqm suffix added
  • Loading branch information
ChristianGruen committed Jun 28, 2023
commit b02fee0a56d46392b86453b9b50aaf6a2f3b06a7
2 changes: 1 addition & 1 deletion lib/rouge/lexers/xquery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class XQuery < XPath
title 'XQuery'
desc 'XQuery 3.1: An XML Query Language'
tag 'xquery'
filenames '*.xquery', '*.xq'
filenames '*.xquery', '*.xq', '*.xqm'
mimetypes 'application/xquery'

def self.keywords
Expand Down
1 change: 1 addition & 0 deletions spec/lexers/xquery_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

it 'guesses by filename' do
assert_guess :filename => 'foo.xq'
assert_guess :filename => 'baz.xqm'
assert_guess :filename => 'bar.xquery'
end

Expand Down