Skip to content

Commit

Permalink
Format lua
Browse files Browse the repository at this point in the history
  • Loading branch information
NonlinearFruit committed Oct 31, 2024
1 parent 9ac1f32 commit 25bb390
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nvim/lua/plugins/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ return {
opts = {
defaults = {
path_display = {
"smart"
}
"smart",
},
},
},
dependencies = {
Expand Down
7 changes: 5 additions & 2 deletions nvim/snippets/nu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ local conds_expand = require("luasnip.extras.conditions.expand")
return {
snippet(
"main",
fmt([[
fmt(
[[
def --wrapped main [...rest] {{
nu -c $'use toolkit.nu; toolkit ($rest | str join " ")'
}}
]], {})
]],
{}
)
),
}

0 comments on commit 25bb390

Please sign in to comment.