|
@@ -1,6 +1,7 @@
|
|
|
vim.o.termguicolors = true
|
|
|
|
|
|
vim.g.sonokai_transparent_background = true
|
|
|
+vim.g.sonokai_disable_terminal_colors = true
|
|
|
|
|
|
vim.api.nvim_create_autocmd('ColorScheme', {
|
|
|
pattern = 'sonokai',
|
|
@@ -8,7 +9,7 @@ vim.api.nvim_create_autocmd('ColorScheme', {
|
|
|
vim.api.nvim_set_hl(0, 'MiniIndentscopeSymbol', { link = 'Whitespace' })
|
|
|
|
|
|
local configuration = vim.fn['sonokai#get_configuration']()
|
|
|
- local palette = vim.fn['sonokai#get_palette'](configuration.style)
|
|
|
+ local palette = vim.fn['sonokai#get_palette'](configuration.style, {[vim.type_idx]=vim.types.dictionary})
|
|
|
|
|
|
vim.fn['sonokai#highlight']('MiniStatuslineModeNormal', palette.black, palette.blue)
|
|
|
vim.fn['sonokai#highlight']('MiniStatuslineModeCommand', palette.black, palette.yellow)
|
|
@@ -16,11 +17,6 @@ vim.api.nvim_create_autocmd('ColorScheme', {
|
|
|
vim.fn['sonokai#highlight']('MiniStatuslineModeVisual', palette.black, palette.orange)
|
|
|
vim.fn['sonokai#highlight']('MiniStatuslineModeReplace', palette.black, palette.red)
|
|
|
vim.fn['sonokai#highlight']('MiniStatuslineModeOther', palette.black, palette.green)
|
|
|
-
|
|
|
- -- reset terminal colors to default
|
|
|
- for i = 0, 15 do
|
|
|
- vim.g['terminal_color_' .. i] = nil
|
|
|
- end
|
|
|
end,
|
|
|
})
|
|
|
|