Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vim.g.material_style = 'oceanic'
- local material_opts = {
- contrast = {
- terminal = true,
- floating_windows = true,
- },
- disable = {
- }
- }
- local luaLine_opts = {
- icons = enabled,
- theme = 'powerline'
- }
- local oil_opts = {
- keymaps = {
- ['<C-b>'] = { 'action.close' }
- }
- }
- local manson_lspconfig_opts = {
- ensure_installed = {
- 'tsserver',
- }
- }
- --local conform_opts = {
- -- formatters_by_ft = {
- -- javascript = { 'biome', stop_after_first = true },
- -- typescript = { 'biome', stop_after_first = true },
- -- typescriptreact = { 'biome', stop_after_first = true },
- -- }
- --}
- return {
- 'christoomey/vim-tmux-navigator',
- { "ellisonleao/gruvbox.nvim", priority = 1000 , config = true},
- {'marko-cerovac/material.nvim', opts = material_opts},
- {
- 'nvim-lualine/lualine.nvim',
- dependencies = { 'nvim-tree/nvim-web-devicons' },
- opts = luaLine_opts
- },
- {
- 'nvim-telescope/telescope.nvim', branch = '0.1.x',
- dependencies = { 'nvim-lua/plenary.nvim', 'BurntSushi/ripgrep' }
- },
- {
- 'stevearc/oil.nvim',
- opts = {},
- dependencies = { { "echasnovski/mini.icons", opts = {} } },
- lazy = false,
- },
- { 'williamboman/mason.nvim', lazy = false, opts = {} },
- {
- 'williamboman/mason-lspconfig',
- opt = manson_lspconfig_opts,
- },
- {
- 'neovim/nvim-lspconfig',
- dependencies = {
- "folke/lazydev.nvim",
- ft = "lua", -- only load on lua files
- opts = {
- library = {
- { path = "${3rd}/luv/library", words = { "vim%.uv" } },
- },
- },
- },
- config = function()
- local capabilities = {
- capabilities = require('cmp_nvim_lsp').default_capabilities()
- }
- lspconfig = require('lspconfig')
- lspconfig.lua_ls.setup(capabilities)
- lspconfig.ts_ls.setup(capabilities)
- --lspconfig.biome.setup({})
- --lspconfig.ember.setup({})
- end,
- },
- -- {
- -- 'stevearc/conform.nvim',
- -- opts = conform_opts,
- -- },
- {'hrsh7th/cmp-nvim-lsp'},
- {'hrsh7th/nvim-cmp', opts = cmp_opts},
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement