My neovim config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

foo

+61 -14
+41 -14
init.lua
··· 12 12 -- themes 13 13 { src = "https://github.com/vague-theme/vague.nvim" }, 14 14 { src = "https://github.com/IroncladDev/osmium" }, 15 + { src = "https://github.com/serhez/teide.nvim" }, 16 + { src = "https://github.com/sainnhe/everforest" }, 15 17 16 18 -- Mason / Lsp 17 19 { src = "https://github.com/mason-org/mason.nvim.git" }, 18 20 { src = "https://github.com/mason-org/mason-lspconfig.nvim.git" }, 19 21 { src = "https://github.com/neovim/nvim-lspconfig.git" }, 20 22 { src = "https://github.com/nvim-lua/plenary.nvim" }, 21 - { src = "https://github.com/pmizio/typescript-tools.nvim" }, 22 23 { src = "https://github.com/olrtg/nvim-emmet" }, 23 24 { src = "https://github.com/stevearc/conform.nvim" }, 25 + { src = "https://github.com/pmizio/typescript-tools.nvim" }, 24 26 }) 25 27 26 28 vim.o.number = true ··· 64 66 show_end_of_buffer = false, -- whether to show the end of buffer 65 67 }) 66 68 67 - vim.cmd("colorscheme osmium") 69 + vim.g.everforest_background = "hard" 70 + vim.g.everforest_better_performance = 1 71 + vim.o.background = "dark" 72 + 73 + vim.cmd("colorscheme everforest") 68 74 vim.cmd(":hi statusline guibg=NONE") 69 75 70 76 local keymaps = function() ··· 173 179 require("mini.icons").setup({}) 174 180 end 175 181 176 - local setup_mason = function() 177 - require("mason").setup() 178 - require("mason-lspconfig").setup({ 179 - ensure_installed = ensure_installed.lsp, 180 - }) 181 - end 182 - 183 182 -- hop 184 183 local setup_hop = function() 185 184 local hop = require("hop") ··· 211 210 end 212 211 end 213 212 214 - local setup_typescript_tools = function() 215 - require("typescript-tools").setup({}) 213 + local setup_mason_and_lsp = function() 214 + require("mason").setup() 215 + 216 + local mason_lspconfig = require("mason-lspconfig") 217 + local lspconfig = require("lspconfig") 218 + 219 + local capabilities = require("blink.cmp").get_lsp_capabilities() 220 + 221 + mason_lspconfig.setup({ 222 + ensure_installed = ensure_installed.lsp, 223 + handlers = { 224 + -- default handler for most servers 225 + function(server_name) 226 + lspconfig[server_name].setup({ 227 + capabilities = capabilities, 228 + }) 229 + end, 230 + }, 231 + }) 232 + 233 + -- typescript-tools.nvim setup 234 + require("typescript-tools").setup({ 235 + capabilities = capabilities, 236 + settings = { 237 + separate_diagnostic_server = true, 238 + publish_diagnostic_on = "insert_leave", 239 + expose_as_code_action = { "all" }, 240 + complete_function_calls = true, 241 + }, 242 + }) 216 243 end 217 244 218 245 -- Plugin setup 219 - setup_mason() 246 + setup_mason_and_lsp() 247 + setup_blink() 248 + 220 249 setup_oil() 221 250 setup_hop() 222 251 setup_treesitter() 223 252 setup_conform() 224 - setup_typescript_tools() 225 - setup_blink() 226 253 keymaps()
+20
nvim-pack-lock.json
··· 9 9 "rev": "c2526f1cde528a66e086ab1668e996d162c75f4f", 10 10 "src": "https://github.com/stevearc/conform.nvim" 11 11 }, 12 + "everforest": { 13 + "rev": "b03a03148c8b34c24c96960b93da9c8883d11f54", 14 + "src": "https://github.com/sainnhe/everforest" 15 + }, 12 16 "friendly-snippets": { 13 17 "rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9", 14 18 "src": "https://github.com/rafamadriz/friendly-snippets" 15 19 }, 20 + "gruvbox-material": { 21 + "rev": "790afe9dd085aa04eccd1da3626c5fa05c620e53", 22 + "src": "https://github.com/sainnhe/gruvbox-material" 23 + }, 24 + "gruvbox.nvim": { 25 + "rev": "334d5fd49fc8033f26408425366c66c6390c57bb", 26 + "src": "https://github.com/ellisonleao/gruvbox.nvim" 27 + }, 16 28 "hop.nvim": { 17 29 "rev": "707049feaca9ae65abb3696eff9aefc7879e66aa", 18 30 "src": "https://github.com/smoka7/hop.nvim" ··· 41 53 "rev": "66fd02ad1c7ea31616d3ca678fa04e6d0b360824", 42 54 "src": "https://github.com/neovim/nvim-lspconfig.git" 43 55 }, 56 + "nvim-vtsls": { 57 + "rev": "0b5f73c9e50ce95842ea07bb3f05c7d66d87d14a", 58 + "src": "https://github.com/yioneko/nvim-vtsls" 59 + }, 44 60 "oil.nvim": { 45 61 "rev": "f55b25e493a7df76371cfadd0ded5004cb9cd48a", 46 62 "src": "https://github.com/stevearc/oil.nvim" ··· 52 68 "plenary.nvim": { 53 69 "rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509", 54 70 "src": "https://github.com/nvim-lua/plenary.nvim" 71 + }, 72 + "teide.nvim": { 73 + "rev": "95041d1d78e786bd88be64bca3e1771f7b6236df", 74 + "src": "https://github.com/serhez/teide.nvim" 55 75 }, 56 76 "trouble.nvim": { 57 77 "rev": "bd67efe408d4816e25e8491cc5ad4088e708a69a",