Advertisement
Guest User

Untitled

a guest
Mar 31st, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.01 KB | None | 0 0
  1. vim.g.material_style = 'oceanic'
  2.  
  3. local material_opts = {
  4.     contrast = {
  5.         terminal = true,
  6.         floating_windows = true,
  7.     },
  8.     disable = {
  9.     }
  10. }
  11.  
  12. local luaLine_opts = {
  13.     icons = enabled,
  14.     theme = 'powerline'
  15. }
  16.  
  17. local oil_opts = {
  18.     keymaps = {
  19.         ['<C-b>'] = { 'action.close' }
  20.     }
  21. }
  22.  
  23. local manson_lspconfig_opts = {
  24.   ensure_installed = {
  25.     'tsserver',
  26.   }
  27. }
  28.  
  29. --local conform_opts = {
  30. --  formatters_by_ft = {
  31. --   javascript = { 'biome', stop_after_first = true },
  32. --    typescript = { 'biome', stop_after_first = true },
  33. --   typescriptreact = { 'biome', stop_after_first = true },
  34. --  }
  35. --}
  36.  
  37. return {
  38.     'christoomey/vim-tmux-navigator',
  39.     { "ellisonleao/gruvbox.nvim", priority = 1000 , config = true},
  40.     {'marko-cerovac/material.nvim', opts = material_opts},
  41.     {
  42.         'nvim-lualine/lualine.nvim',
  43.         dependencies = { 'nvim-tree/nvim-web-devicons' },
  44.         opts = luaLine_opts
  45.     },
  46.     {
  47.         'nvim-telescope/telescope.nvim', branch = '0.1.x',
  48.          dependencies = { 'nvim-lua/plenary.nvim', 'BurntSushi/ripgrep' }
  49.     },
  50.     {
  51.         'stevearc/oil.nvim',
  52.         opts = {},
  53.         dependencies = { { "echasnovski/mini.icons", opts = {} } },
  54.         lazy = false,
  55.     },
  56.   { 'williamboman/mason.nvim', lazy = false, opts = {} },
  57.   {
  58.     'williamboman/mason-lspconfig',
  59.     opt = manson_lspconfig_opts,
  60.   },
  61.     {
  62.         'neovim/nvim-lspconfig',
  63.         dependencies = {
  64.             "folke/lazydev.nvim",
  65.             ft = "lua", -- only load on lua files
  66.             opts = {
  67.               library = {
  68.             { path = "${3rd}/luv/library", words = { "vim%.uv" } },
  69.               },
  70.             },
  71.           },
  72.         config = function()
  73.       local capabilities = {
  74.         capabilities = require('cmp_nvim_lsp').default_capabilities()
  75.       }
  76.             lspconfig = require('lspconfig')
  77.             lspconfig.lua_ls.setup(capabilities)
  78.             lspconfig.ts_ls.setup(capabilities)
  79.             --lspconfig.biome.setup({})
  80.             --lspconfig.ember.setup({})
  81.         end,
  82.     },
  83. --  {
  84. --    'stevearc/conform.nvim',
  85. --    opts = conform_opts,
  86. --  },
  87.   {'hrsh7th/cmp-nvim-lsp'},
  88.   {'hrsh7th/nvim-cmp', opts = cmp_opts},
  89. }
  90.  
  91.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement