Update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if has('nvim')
|
||||
if has('nvim') && !exists("g:vscode")
|
||||
lua << EOF
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
@@ -8,7 +8,6 @@ lua << EOF
|
||||
severity_sort = false,
|
||||
})
|
||||
|
||||
vim.cmd('autocmd CursorHold * lua vim.diagnostic.open_float()')
|
||||
vim.o.updatetime = 300
|
||||
|
||||
-- Show all diagnostics on current line in floating window
|
||||
@@ -29,5 +28,27 @@ vim.o.updatetime = 300
|
||||
-- { noremap = true, silent = true }
|
||||
--)
|
||||
|
||||
-- IMPORTANT!: this is only a showcase of how you can set default options!
|
||||
require("telescope").setup {
|
||||
extensions = {
|
||||
file_browser = {
|
||||
grouped = true,
|
||||
theme = "ivy",
|
||||
mappings = {
|
||||
["i"] = {
|
||||
-- your custom insert mode mappings
|
||||
},
|
||||
["n"] = {
|
||||
-- your custom normal mode mappings
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
-- To get telescope-file-browser loaded and working with telescope,
|
||||
-- you need to call load_extension, somewhere after setup function:
|
||||
require("telescope").load_extension "file_browser"
|
||||
|
||||
EOF
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user