this repo has no description
0
fork

Configure Feed

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

[nvim] more sumneko_lua config

+9 -5
-2
nvim/lua/core/lsp/handlers.lua
··· 67 67 end 68 68 69 69 M.on_attach = function(client, bufnr) 70 - vim.notify(client.name .. " starting...") 71 - 72 70 -- Enable completion triggered by <c-x><c-o> 73 71 vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'lua.vim.lsp.omnifunc') 74 72
+7 -2
nvim/lua/core/lsp/settings/sumneko_lua.lua
··· 1 + -- NOTE: https://rishabhrd.github.io/jekyll/update/2020/09/19/nvim_lsp_config.html#some-lsp-client-configurations 2 + 1 3 return { 2 4 settings = { 3 5 Lua = { 6 + runtime = { 7 + version = "LuaJIT", 8 + path = vim.split(package.path, ";"), 9 + }, 4 10 diagnostics = { 5 11 globals = { "vim" }, 6 12 }, 7 13 workspace = { 8 14 library = { 9 15 [vim.fn.expand("$VIMRUNTIME/lua")] = true, 10 - -- [vim.fn.stdpath("config") .. "/lua"] = true, 11 - -- NOTE: https://rishabhrd.github.io/jekyll/update/2020/09/19/nvim_lsp_config.html#some-lsp-client-configurations 16 + [vim.fn.expand("$VIMRUNTIME/lua/vim/lsp")] = true, 12 17 }, 13 18 }, 14 19 },
+2 -1
nvim/lua/core/plugins.lua
··· 55 55 use "akinsho/bufferline.nvim" 56 56 use "nvim-lualine/lualine.nvim" 57 57 use "goolord/alpha-nvim" 58 - use "folke/which-key.nvim" -- TODO 58 + use "folke/which-key.nvim" 59 59 60 60 -- Terminal 61 61 use { ··· 96 96 "nvim-treesitter/nvim-treesitter", 97 97 run = ":TSUpdate", 98 98 } 99 + use "nvim-treesitter/playground" 99 100 use "JoosepAlviste/nvim-ts-context-commentstring" 100 101 101 102 -- Git