chore: Added a theme change in rofi script. Need to add rofi itself and other stuff still
This commit is contained in:
parent
f0899924f0
commit
0d8809b596
13 changed files with 139 additions and 19 deletions
|
@ -1,3 +1,4 @@
|
|||
require("core.variables")
|
||||
require('core.package_manager')
|
||||
require('plugins.remote-theme')
|
||||
require('impatient')
|
||||
|
|
|
@ -7,6 +7,7 @@ lazy.setup({
|
|||
-------------------------------------------THEMES------------------------------------------
|
||||
{
|
||||
'catppuccin/nvim',
|
||||
name = "catppuccin",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
|
|
|
@ -48,19 +48,20 @@ local capabilities = vim.tbl_deep_extend(
|
|||
require('cmp_nvim_lsp').default_capabilities()
|
||||
)
|
||||
|
||||
local setup = {
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
mason_lspconfig.setup_handlers {
|
||||
|
||||
-- This is a default handler that will be called for each installed server (also for new servers that are installed during a session)
|
||||
function(server_name)
|
||||
lspconfig[server_name].setup { setup }
|
||||
lspconfig[server_name].setup {
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
||||
lspconfig["ocamllsp"].setup {
|
||||
setup
|
||||
lspconfig["ocamllsp"].setup{
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ null_ls.setup({
|
|||
null_ls.builtins.formatting.blue,
|
||||
null_ls.builtins.formatting.gofmt,
|
||||
null_ls.builtins.code_actions.shellcheck,
|
||||
null_ls.builtins.formatting.beautysh,
|
||||
null_ls.builtins.formatting.prettierd.with({
|
||||
filetypes = { "html", "json", "css", "js", "yaml", "markdown" },
|
||||
}),
|
||||
|
|
8
.config/nvim/lua/plugins/remote-theme.lua
Normal file
8
.config/nvim/lua/plugins/remote-theme.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
local M = {}
|
||||
|
||||
M.change_theme = function(scheme)
|
||||
vim.cmd('colorscheme ' .. scheme)
|
||||
end
|
||||
|
||||
return M
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue