Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nathom committed Oct 15, 2021
2 parents 398eca1 + 81c896d commit 859f8da
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,4 @@ All contributions are appreciated! But please make sure to follow these guidelin
- Format your code with stylua, complying with the rules in the `stylua.toml` file
- Document any new functions you write, and update the documentation of functions
you edit if appropriate
- Set the base branch to `dev`
9 changes: 9 additions & 0 deletions lua/filetype/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ M.extensions = {
["jgr"] = "jgraph",
["jj"] = "javacc",
["jjt"] = "javacc",
["jl"] = "julia",
["jov"] = "jovial",
["jovial"] = "jovial",
["jpl"] = "jam",
Expand Down Expand Up @@ -380,6 +381,7 @@ M.extensions = {
["opam.template"] = "opam",
["or"] = "openroad",
["ora"] = "ora",
["org"] = "org",
["orx"] = "rexx",
["p36"] = "plm",
["p6"] = "raku",
Expand Down Expand Up @@ -456,6 +458,8 @@ M.extensions = {
["rej"] = "diff",
["rem"] = "remind",
["remind"] = "remind",
["res"] = "rescript",
["resi"] = "rescript",
["rex"] = "rexx",
["rexx"] = "rexx",
["rexxj"] = "rexx",
Expand Down Expand Up @@ -571,6 +575,7 @@ M.extensions = {
["toml"] = "toml",
["tpl"] = "smarty",
["tpm"] = "xml",
["tpp"] = "cpp",
["tr"] = "nroff",
["tsc"] = "monk",
["tsx"] = "typescriptreact",
Expand Down Expand Up @@ -742,6 +747,7 @@ M.literal = {
["fglrxrc"] = "xml",
["fstab"] = "fstab",
["gitconfig"] = "gitconfig",
["git-rebase-todo"] = "gitrebase",
["gitolite.conf"] = "gitolite",
["gnashpluginrc"] = "gnash",
["gnashrc"] = "gnash",
Expand Down Expand Up @@ -943,6 +949,9 @@ M.star_sets = {
["lilo%.conf.*"] = [[lilo]],
[".*/etc/logcheck/.*%.d.*/.*"] = [[logcheck]],
["[mM]akefile.*"] = [[make]],
["mk"] = [[make]],
["mak"] = [[make]],
["dsp"] = [[make]],
["[rR]akefile.*"] = [[ruby]],
["reportbug-.*"] = [[mail]],
[".*/etc/modprobe%..*"] = [[modconf]],
Expand Down
2 changes: 1 addition & 1 deletion stylua.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Customized
indent_type = "Spaces"
column_width = 79
# Default
column_width = 120
line_endings = "Unix"
indent_width = 4
quote_style = "AutoPreferDouble"
Expand Down

0 comments on commit 859f8da

Please sign in to comment.