Merge pull request #152 from rohanghige/22-autocommands

[FIX] Tree-sitter ensure_installed error message
22-autocommands
Christian Chiarulli 2 years ago committed by GitHub
commit 24e1856862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,8 +119,10 @@ cmp.setup {
behavior = cmp.ConfirmBehavior.Replace,
select = false,
},
documentation = {
border = { "", "", "", "", "", "", "", "" },
window = {
documentation = {
border = { "", "", "", "", "", "", "", "" },
},
},
experimental = {
ghost_text = false,

@ -169,6 +169,9 @@ local schemas = {
}
local function extend(tab1, tab2)
if tab2 == nil then
return tab2
end
for _, value in ipairs(tab2) do
table.insert(tab1, value)
end

@ -42,7 +42,6 @@ nvim_tree.setup {
"dashboard",
"alpha",
},
auto_close = true,
open_on_tab = false,
hijack_cursor = false,
update_cwd = true,
@ -98,15 +97,12 @@ nvim_tree.setup {
cmd = "trash",
require_confirm = true,
},
quit_on_open = 0,
git_hl = 1,
disable_window_picker = 0,
root_folder_modifier = ":t",
show_icons = {
git = 1,
folders = 1,
files = 1,
folder_arrows = 1,
tree_width = 30,
actions = {
open_file = {
quit_on_open = false,
window_picker = {
enable = false,
},
},
},
}

@ -4,7 +4,7 @@ if not status_ok then
end
configs.setup {
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
ensure_installed = "all", -- "all" (parsers with maintainers), or a list of languages
sync_install = false, -- install languages synchronously (only applied to `ensure_installed`)
ignore_install = { "" }, -- List of parsers to ignore installing
autopairs = {

@ -143,7 +143,7 @@ local mappings = {
i = { "<cmd>LspInfo<cr>", "Info" },
I = { "<cmd>LspInstallInfo<cr>", "Installer Info" },
j = {
"<cmd>lua vim.lsp.diagnostic.goto_next()<CR>",
"<cmd>lua vim.diagnostic.goto_next()<CR>",
"Next Diagnostic",
},
k = {
@ -151,7 +151,7 @@ local mappings = {
"Prev Diagnostic",
},
l = { "<cmd>lua vim.lsp.codelens.run()<cr>", "CodeLens Action" },
q = { "<cmd>lua vim.lsp.diagnostic.set_loclist()<cr>", "Quickfix" },
q = { "<cmd>lua vim.diagnostic.setloclist()<cr>", "Quickfix" },
r = { "<cmd>lua vim.lsp.buf.rename()<cr>", "Rename" },
s = { "<cmd>Telescope lsp_document_symbols<cr>", "Document Symbols" },
S = {

Loading…
Cancel
Save