mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(fish): fixed codewars_rust script
This commit is contained in:
parent
803897346a
commit
c98b3662a2
4 changed files with 17 additions and 7 deletions
|
|
@ -8,9 +8,9 @@ Set_light_mode = function()
|
|||
vim.cmd "highlight NormalFloat guibg=white"
|
||||
vim.cmd "highlight FloatBorder guifg=black guibg=white"
|
||||
|
||||
vim.cmd "highlight DiagnosticError gui=bold"
|
||||
vim.cmd "highlight DiagnosticWarn gui=italic"
|
||||
vim.cmd "highlight DiagnosticInfo guibg=black guibg=italic"
|
||||
-- vim.cmd "highlight DiagnosticError gui=bold"
|
||||
-- vim.cmd "highlight DiagnosticWarn gui=italic"
|
||||
-- vim.cmd "highlight DiagnosticInfo guibg=black guibg=italic"
|
||||
-- vim.cmd "highlight DiagnosticHint guibg=black"
|
||||
|
||||
vim.cmd "highlight TreesitterContext guibg=#EEEEEE"
|
||||
|
|
@ -32,8 +32,8 @@ Set_dark_mode = function()
|
|||
vim.cmd "highlight NormalFloat guibg=black"
|
||||
vim.cmd "highlight FloatBorder guifg=white guibg=black"
|
||||
|
||||
vim.cmd "highlight DiagnosticError gui=bold"
|
||||
vim.cmd "highlight DiagnosticWarn gui=italic"
|
||||
-- vim.cmd "highlight DiagnosticError gui=bold"
|
||||
-- vim.cmd "highlight DiagnosticWarn gui=italic"
|
||||
-- vim.cmd "highlight DiagnosticInfo guifg=white guibg=black"
|
||||
-- vim.cmd "highlight DiagnosticHint guifg=white guibg=black"
|
||||
|
||||
|
|
|
|||
|
|
@ -28,3 +28,13 @@ vim.keymap.set('n', '<leader>sh', builtin.help_tags, { desc = '[S]earch [H]elp'
|
|||
vim.keymap.set('n', '<leader>sw', builtin.grep_string, { desc = '[S]earch current [W]ord' })
|
||||
vim.keymap.set('n', '<leader>sg', builtin.live_grep, { desc = '[S]earch by [G]rep' })
|
||||
vim.keymap.set('n', '<leader>sd', builtin.diagnostics, { desc = '[S]earch [D]iagnostics' })
|
||||
|
||||
-- Auto launch nvim at VimEnter
|
||||
-- vim.api.nvim_create_autocmd(
|
||||
-- "VimEnter",
|
||||
-- {
|
||||
-- callback = builtin.find_files,
|
||||
-- group = vim.api.nvim_create_augroup("ShowTelescope", { clear = true }),
|
||||
-- pattern = '*',
|
||||
-- }
|
||||
-- )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue