Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Dec 30, 2023
2 parents ab22b5e + 978960f commit e246ef0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
9 changes: 8 additions & 1 deletion lua/plugins/quarto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ return {
"latex",
"html",
"css",
"dot"
"dot",
"javascript"
},
highlight = {
enable = true,
Expand Down Expand Up @@ -303,6 +304,12 @@ return {
flags = lsp_flags,
})

lspconfig.denols.setup({
on_attach = on_attach,
capabilities = capabilities,
flags = lsp_flags,
})

local function strsplit(s, delimiter)
local result = {}
for match in (s .. delimiter):gmatch("(.-)" .. delimiter) do
Expand Down
14 changes: 10 additions & 4 deletions lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ return {
local telescope = require("telescope")
local actions = require("telescope.actions")
local previewers = require("telescope.previewers")
local action_state = require "telescope.actions.state"
local new_maker = function(filepath, bufnr, opts)
opts = opts or {}
filepath = vim.fn.expand(filepath)
Expand Down Expand Up @@ -44,6 +45,11 @@ return {
["<esc>"] = actions.close,
["<c-j>"] = actions.move_selection_next,
["<c-k>"] = actions.move_selection_previous,
["<c-s>"] = function(_)
local entry = action_state.get_selected_entry()
local path = entry[1]
vim.fn.system("xdg-open " .. path)
end
},
},
},
Expand Down Expand Up @@ -71,10 +77,10 @@ return {
require("telescope.themes").get_dropdown(),
},
fzf = {
fuzzy = true, -- false will only do exact matching
fuzzy = true, -- false will only do exact matching
override_generic_sorter = true, -- override the generic sorter
override_file_sorter = true, -- override the file sorter
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
override_file_sorter = true, -- override the file sorter
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
},
},
})
Expand Down Expand Up @@ -334,7 +340,7 @@ return {
max_width = 100,
max_height = 15,
editor_only_render_when_focused = false, -- auto show/hide images when the editor gains/looses focus
tmux_show_only_in_active_window = true, -- auto show/hide images in the correct Tmux window (needs visual-activity off)
tmux_show_only_in_active_window = true, -- auto show/hide images in the correct Tmux window (needs visual-activity off)
})
end,
},
Expand Down

0 comments on commit e246ef0

Please sign in to comment.