nvim/init.lua
Just Midi 2f1202a669 Squashed commit of the following:
commit 6179a86a75
Author: Just Midi <storm89161@gmail.com>
Date:   Fri Aug 27 06:18:00 2021 +0000

    Removed && in zls install

    removed && in favor of scripts on separate lines

commit 4ca63a5884
Author: Just Midi <storm89161@gmail.com>
Date:   Thu Aug 26 07:15:27 2021 +0000

    True lazy loading, lsp installs, and nvim-compe

    Installation scripts for:
    + bashls
    + ccls
    + clangd
    + pylsp
    + pyright
    + sumneko
    + zls

    And adjusted a few keymaps

commit 052b4513c2
Author: Just Midi <storm89161@gmail.com>
Date:   Wed Aug 11 20:52:37 2021 +0000

    Base LSP

    + loads LSP server based on file type
    + imports native-lsp (our's) and lspconfig (foreign)
    + key mappings for lsp
2021-08-27 06:21:53 +00:00

40 lines
918 B
Lua
Executable file

-- see `:help` for any questions
-- use `&<var>` to show value of vimscript variable
-- API --
o = vim.o -- options
go = vim.go -- only-global options
bo = vim.bo -- buffer local options
wo = vim.wo -- window local options
cmd = vim.cmd -- vim commands
fn = vim.fn -- vim functions
opt = vim.opt -- vim option object
g = vim.g -- global variables
b = vim.b -- buffer local variables
w = vim.w -- window local variables
t = vim.t -- tab local variables
v = vim.v -- variables
env = vim.env -- environment variables
local modules = {
'general',
'keymap',
'ui',
'native-lsp'
}
local async
async = vim.loop.new_async(
vim.schedule_wrap(
function()
for i = 1, #modules, 1 do
pcall(require, modules[i])
end
async:close()
end
)
)
async:send()