plug.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. require "paq" {
  2. "savq/paq-nvim", -- Let Paq manage itself
  3. "shaunsingh/nord.nvim", -- NordVim ColorScherme
  4. "nvim-lualine/lualine.nvim",
  5. { "nvim-tree/nvim-web-devicons", opt = true },
  6. {"akinsho/bufferline.nvim", version = "*", dependencies = "nvim-tree/nvim-web-devicons"},
  7. {"glacambre/firenvim", run = function() vim.fn["firenvim#install"](0) end},
  8. }
  9. -----------------------------------------------------------
  10. -- set Plugins
  11. -----------------------------------------------------------
  12. -- lualine
  13. require('lualine').setup {
  14. options = {
  15. icons_enabled = true,
  16. them = 'nord',
  17. component_separators = { left = '', right = ''},
  18. section_separators = { left = '', right = ''},
  19. disabled_filetypes = {
  20. statusline = {},
  21. winbar = {},
  22. },
  23. ignore_focus = {},
  24. always_divide_middle = true,
  25. globalstatus = false,
  26. refresh = {
  27. statusline = 1000,
  28. tabline = 1000,
  29. winbar = 1000,
  30. }
  31. },
  32. sections = {
  33. lualine_a = {'mode'},
  34. lualine_b = {'branch', 'diff', 'diagnostics'},
  35. lualine_c = {'filename'},
  36. lualine_x = {'encoding', 'fileformat', 'filetype'},
  37. lualine_y = {'progress'},
  38. lualine_z = {'location'}
  39. },
  40. inactive_sections = {
  41. lualine_a = {},
  42. lualine_b = {},
  43. lualine_c = {'filename'},
  44. lualine_x = {'location'},
  45. lualine_y = {},
  46. lualine_z = {}
  47. },
  48. tabline = {},
  49. winbar = {},
  50. inactive_winbar = {},
  51. extensions = {}
  52. }
  53. -- bufferline
  54. local bufferline_use = false
  55. if bufferline_use then
  56. local bufferline = require("bufferline")
  57. bufferline.setup {}
  58. local highlights = require("nord").bufferline.highlights({
  59. italic = true,
  60. bold = true,
  61. })
  62. require("bufferline").setup({
  63. options = {
  64. separator_style = "thin",
  65. },
  66. highlights = highlights,
  67. })
  68. end