reverting
This commit is contained in:
@ -2,6 +2,13 @@ vim.pack.add({ "https://github.com/scalameta/nvim-metals" })
|
||||
local metals_config = require("metals").bare_config()
|
||||
|
||||
metals_config.capabilities = require("blink.cmp").get_lsp_capabilities()
|
||||
metals_config.settings = {
|
||||
showImplicitArguments = true,
|
||||
showInferredType = true,
|
||||
serverProperties = {
|
||||
"-Dmetals.worksheet-timeout=120",
|
||||
},
|
||||
}
|
||||
metals_config.on_attach = function(client, bufnr)
|
||||
-- Your existing keymaps, scoped to the buffer
|
||||
local opts = { buffer = bufnr }
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
local hooks = function(ev)
|
||||
local name, kind = ev.data.spec.name, ev.data.kind
|
||||
if name == 'telescope-fzf-native.nvim' and (kind == 'install' or kind == 'update') then
|
||||
vim.system({ 'make' }, { cwd = ev.data.path }):wait()
|
||||
end
|
||||
local name, kind = ev.data.spec.name, ev.data.kind
|
||||
if name == 'telescope-fzf-native.nvim' and (kind == 'install' or kind == 'update') then
|
||||
vim.system({ 'make' }, { cwd = ev.data.path }):wait()
|
||||
end
|
||||
end
|
||||
vim.api.nvim_create_autocmd('PackChanged', { callback = hooks })
|
||||
|
||||
@ -26,10 +26,10 @@ require("telescope").load_extension("fzf")
|
||||
require("telescope").setup({
|
||||
extensions = {
|
||||
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"
|
||||
-- the default case_mode is "smart_case"
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user