mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Added readme
This commit is contained in:
parent
14bd26070a
commit
b6665c490e
@ -76,13 +76,6 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
local function SetColorScheme(color)
|
|
||||||
color = color or "dracula"
|
|
||||||
vim.cmd.colorscheme(color)
|
|
||||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
|
||||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
|
||||||
end
|
|
||||||
SetColorScheme()
|
|
||||||
|
|
||||||
-- Change Cursorline/Columnt color
|
-- Change Cursorline/Columnt color
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
|
|||||||
@ -7,7 +7,7 @@ dracula.setup({
|
|||||||
-- show the '~' characters after the end of buffers
|
-- show the '~' characters after the end of buffers
|
||||||
show_end_of_buffer = true, -- default false
|
show_end_of_buffer = true, -- default false
|
||||||
-- use transparent background
|
-- use transparent background
|
||||||
transparent_bg = true, -- default false
|
transparent_bg = true, -- default false
|
||||||
-- set custom lualine background color
|
-- set custom lualine background color
|
||||||
-- lualine_bg_color = "#44475a", -- default nil
|
-- lualine_bg_color = "#44475a", -- default nil
|
||||||
-- set italic comment
|
-- set italic comment
|
||||||
@ -20,3 +20,8 @@ dracula.setup({
|
|||||||
-- Nothing = {} -- clear highlight of Nothing
|
-- Nothing = {} -- clear highlight of Nothing
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local status_ok, _ = pcall(vim.cmd.colorscheme("dracula"))
|
||||||
|
if not status_ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
@ -1,9 +1,9 @@
|
|||||||
require("user.options")
|
require("user.options")
|
||||||
|
require("user.colorscheme")
|
||||||
require("user.keymaps")
|
require("user.keymaps")
|
||||||
require("user.autocommands")
|
require("user.autocommands")
|
||||||
require("user.plugins")
|
require("user.plugins")
|
||||||
require("user.alpha")
|
require("user.alpha")
|
||||||
require("user.autopairs")
|
require("user.autopairs")
|
||||||
require("user.autosave")
|
require("user.autosave")
|
||||||
require("user.vimwiki")
|
|
||||||
require("user.mason")
|
require("user.mason")
|
||||||
|
|||||||
10
stylua.toml
Normal file
10
stylua.toml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
column_width = 120
|
||||||
|
line_endings = "Unix"
|
||||||
|
indent_type = "Tabs"
|
||||||
|
indent_width = 4
|
||||||
|
quote_style = "AutoPreferDouble"
|
||||||
|
call_parentheses = "Always"
|
||||||
|
collapse_simple_statement = "Never"
|
||||||
|
|
||||||
|
[sort_requires]
|
||||||
|
enabled = false
|
||||||
Loading…
Reference in New Issue
Block a user