Add neoformatter and format lua files

This commit is contained in:
Marko Korhonen 2021-01-30 16:46:41 +02:00
parent 2e004f2295
commit b9d1194133
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
6 changed files with 35 additions and 38 deletions

View file

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

View file

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

View file

@ -1,12 +1,6 @@
require'nvim-treesitter.configs'.setup {
ensure_installed = 'maintained',
highlight = {
enable = true
},
indent = {
enable = true
},
incremental_selection = {
enable = true
}
ensure_installed = 'maintained',
highlight = {enable = true},
indent = {enable = true},
incremental_selection = {enable = true}
}