Initial configuration converted to lua

Still many missing plugins and configurations
This commit is contained in:
Marko Korhonen 2020-12-14 19:11:20 +02:00
parent c41172efbd
commit ec02529615
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
19 changed files with 137 additions and 472 deletions

View file

@ -0,0 +1,10 @@
local g = vim.g
local o = vim.o
o.showmode = false
o.laststatus = 2
g["airline#extensions#tabline#enabled"]= 1
g.airline_powerline_fonts = 1
g.airline_section_warning = ''
g.airline_section_error = ''
g.airline_theme = 'onedark'

View file

@ -0,0 +1 @@
vim.cmd "autocmd BufEnter * lua require'completion'.on_attach()"

View file

@ -0,0 +1,3 @@
local cmd = vim.cmd
require 'lspconfig'.rust_analyzer.setup{}