Skip to content

Commit

Permalink
chore: remove useless
Browse files Browse the repository at this point in the history
  • Loading branch information
phanen committed Dec 16, 2024
1 parent 47a9f23 commit b60f0ad
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lua/flo/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ local fzf = setmetatable({}, { __index = function(_, k) return require('fzf-lua'

local fn, api, fs, uv = vim.fn, vim.api, vim.fs, vim.uv

M.toggle_daily = function(_, opts)
local o = opts.__call_opts
if opts.show_daily_only then
o.cmd = 'fd --color=never --type f --hidden --follow --no-messages --exclude .git'
else
o.cmd = 'fd "[0-9][0-9]-[0-9][0-9]*" --type f'
end
o.show_daily_only = not opts.show_daily_only
opts.__call_fn(o)
end

-- create notes, snips or todos
M.create_notes = function(_, opts)
local todo_dir = '~/notes/todo'
Expand Down

0 comments on commit b60f0ad

Please sign in to comment.