| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- return {
- {
- dir = vim.fn.stdpath("config") .. "/custom/jonathandarker",
- name = "jonathandarker",
- lazy = false,
- enabled = true,
- config = function()
- vim.cmd.colorscheme("jonathandarker")
- vim.defer_fn(function()
- vim.schedule(function()
- vim.cmd.colorscheme("jonathandarker")
- end)
- end, 100)
- vim.opt.list = true
- vim.opt.fillchars = "horiz:-," .. "horizup:-," .. "horizdown:-," ..
- "vert:¦," .. "verthoriz:¦," ..
- "vertleft:¦," .. "vertright:¦," ..
- "eob:⠀"
- vim.opt.listchars = "extends:›," .. "precedes:‹," ..
- "tab:\\ ," .. "nbsp:·," .. "trail:·," ..
- "space:·"
- end
- }, {
- dir = vim.fn.stdpath("config") .. "/custom/status-beast",
- name = "status-beast",
- dependencies = { "lewis6991/gitsigns.nvim", "bit-browser", "command-palette" },
- enabled = true,
- lazy = false,
- config = function()
- require("status-beast.highlights").setup()
- require("status-beast").setup()
- vim.api.nvim_create_autocmd({ "BufEnter" },
- {
- group = vim.api.nvim_create_augroup('StatusBeast',
- { clear = true }),
- callback =
- require("status-beast").setup
- })
- vim.diagnostic.config({
- virtual_lines = {
- current_line = true,
- format = function(d)
- return "[" .. d.source .. "] " .. d.message
- end
- },
- float = false,
- virtual_text = false,
- update_in_insert = true
- })
- local palette = require("command-palette")
- palette.add({
- {
- "Status Beast", "Options for status bars and columns", { {
- "Toggle Relnum", "Toggle relative line numbers on/off",
- ":setl rnu!" } } }
- })
- end
- }, {
- dir = vim.fn.stdpath("config") .. "/custom/jxdash",
- name = "jxdash",
- dependencies = { "jonathandarker" },
- enabled = true,
- lazy = false,
- config = function()
- require("jxdash").setup()
- end
- }, {
- "norcalli/nvim-colorizer.lua",
- enabled = true,
- lazy = false,
- config = function()
- require("colorizer").setup({ "*" }, {
- mode = "background",
- RGB = true,
- RRGGBB = true,
- RRGGBBAA = true,
- names = false,
- rgb_fn = false,
- hsl_fn = false,
- css = false,
- css_fn = false
- })
- end
- }, {
- "lukas-reineke/virt-column.nvim",
- enabled = true,
- lazy = false,
- config = function()
- vim.opt.colorcolumn = tostring(80 + 1)
- local cc_group = vim.api.nvim_create_augroup("colorcolumn",
- { clear = true })
- local filetype_colorcolumn_map = {
- python = 88,
- kotlin = 100,
- julia = 92
- }
- vim.api.nvim_create_autocmd({ "FileType" }, {
- pattern = { "*" },
- group = cc_group,
- callback = function(event)
- local filetype = vim.bo[event.buf].filetype
- local colorcolumn = filetype_colorcolumn_map[filetype]
- if colorcolumn == nil then
- colorcolumn = 80
- end
- for _, w in pairs(vim.api.nvim_list_wins()) do
- if vim.api.nvim_win_get_buf(w) == event.buf then
- vim.wo[w].colorcolumn = tostring(colorcolumn + 1)
- end
- end
- end
- })
- require("virt-column").setup({ char = "⁚" })
- end
- },
- {
- 'MeanderingProgrammer/render-markdown.nvim',
- dependencies = { 'nvim-treesitter/nvim-treesitter' },
- opts = {},
- config = function()
- require('render-markdown').setup({
- code = {
- language_name = true,
- position = 'right',
- width = 'block',
- min_width = 80,
- right_pad = 0,
- above = '-',
- below = '-',
- highlight_language = true,
- disable_background = true
- },
- })
- end
- }
- }
|