|
@@ -1,3 +1,18 @@
|
|
|
+require('onedark').setup({
|
|
|
+ term_colors = false,
|
|
|
+ transparent = true,
|
|
|
+ highlights = {
|
|
|
+ MiniStatuslineModeNormal = { bg = '$blue', fg = '$black' },
|
|
|
+ MiniStatuslineModeCommand = { bg = '$grey', fg = '$black' },
|
|
|
+ MiniStatuslineModeInsert = { bg = '$green', fg = '$black' },
|
|
|
+ MiniStatuslineModeVisual = { bg = '$orange', fg = '$black' },
|
|
|
+ MiniStatuslineModeReplace = { bg = '$red', fg = '$black' },
|
|
|
+ MiniStatuslineModeOther = { bg = '$green', fg = '$black' },
|
|
|
+ MiniIndentscopeSymbol = { fg = '$bg3' },
|
|
|
+ },
|
|
|
+})
|
|
|
+require('onedark').load()
|
|
|
+
|
|
|
require('gitsigns').setup()
|
|
|
|
|
|
require('mini.statusline').setup({
|
|
@@ -33,13 +48,6 @@ require('nvim-treesitter.configs').setup {
|
|
|
},
|
|
|
}
|
|
|
|
|
|
-local orig_util_open_floating_preview = vim.lsp.util.open_floating_preview
|
|
|
-function vim.lsp.util.open_floating_preview(contents, syntax, opts, ...)
|
|
|
- opts = opts or {}
|
|
|
- opts.border = opts.border or 'single'
|
|
|
- return orig_util_open_floating_preview(contents, syntax, opts, ...)
|
|
|
-end
|
|
|
-
|
|
|
vim.diagnostic.config({
|
|
|
virtual_text = { severity = { min = vim.diagnostic.severity.WARN } }
|
|
|
})
|