cool nvim stuff

This commit is contained in:
Niktia Bykov
2024-01-02 22:38:47 +05:00
parent b6aae4722c
commit 66d4df92ab
20 changed files with 361 additions and 124 deletions

View File

@ -3,11 +3,11 @@ if not status_ok then
return
end
telescope.load_extension('media_files')
telescope.load_extension("media_files")
local actions = require "telescope.actions"
local actions = require("telescope.actions")
telescope.setup {
telescope.setup({
defaults = {
file_ignore_patterns = { "node_modules", "venv" },
prompt_prefix = "",
@ -93,12 +93,12 @@ telescope.setup {
-- filetypes whitelist
-- defaults to {"png", "jpg", "mp4", "webm", "pdf"}
filetypes = { "png", "webp", "jpg", "jpeg" },
find_cmd = "rg" -- find command (defaults to `fd`)
}
find_cmd = "rg", -- find command (defaults to `fd`)
},
-- Your extension configuration goes here:
-- extension_name = {
-- extension_config_key = value,
-- }
-- please take a look at the readme of the extension you want to configure
},
}
})