Changed lua formatter and check to 200 lines

This commit is contained in:
Christoffer Martinsson 2023-05-28 05:51:16 +02:00
parent 4317a2c1bb
commit 779f17b04d
3 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
column_width = 120
column_width = 200
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2

4
luacheckrc Normal file
View File

@ -0,0 +1,4 @@
max_line_length = 200
max_code_line_length = 200
max_string_line_length = 200
max_comment_line_length = 200

View File

@ -105,6 +105,9 @@ ln -sf ~/code_server/config/nvim/lua/user ~/.config/nvim/lua/user && \
# Symlink lazygit config
ln -sf ~/code_server/config/lazygit/config.yml ~/.config/lazygit/config.yml && \
# Symlink luacheck config
ln -sf ~/code_server/luacheckrc ~/.luacheckrc && \
# Restore default .bashrc
sudo /bin/cp /etc/skel/.bashrc ~/.bashrc && \