Skip to content

Commit

Permalink
update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchuette committed Sep 2, 2021
1 parent 1e82ea0 commit 24e9ecd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ set -g status-position bottom
set -g status-justify left

set -g status-left '#[fg=colour232,bg=colour52] ♥ #(~/bin/bty --short) #[fg=colour52,bg=colour16] '
set -g status-right '#[fg=colour2,bg=colour16] #[fg=colour232,bg=colour2] #S | #(~/bin/tmux_du) | ♫ #(~/bin/tmux_music) | %d/%m | %H:%M '
set -g status-right '#[fg=colour2,bg=colour16] #[fg=colour232,bg=colour2] #S | #(~/bin/tmux_du) | ♫ #(~/bin/tmux_music) | %d/%m/%y | %H:%M '
set -g status-right-length 150
set -g status-left-length 30

Expand Down
10 changes: 7 additions & 3 deletions vim-config/configs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -465,17 +465,20 @@ let g:completor_python_binary = '/usr/bin/python3'
" Usually, tools only need to be installed to work without
" additional settings in this file. Some language configs are set
" manually, anyways.
" NOTE(daniel): We explicitly don't use clang as a C++ linter here,
" because it sometimes detects obscure errors in libg++.
" CLANGCHECK probably doesn't add much, so we removed it.
let g:ale_linters = {
\ 'typescript': ['eslint', 'tsserver'],
\ 'javascript': ['prettier', 'eslint', 'jshint'],
\ 'python': ['flake8', 'mypy'],
\ 'go': ['go', 'golint', 'errcheck'],
\ 'vim': ['vint'],
\ 'elm': ['elm_ls'],
\ 'cpp': ['clang'],
\ 'cc': ['clang']
\ 'cpp': ['clangtidy', 'gcc'],
\}

let g:ale_cpp_gcc_options = '-Wall -Wextra -Wpedantic -Weffc++ -std=c++20'
let g:ale_cpp_clang_options = '-Wall -Wextra -std=c++20 -x c++'
let g:ale_cpp_clangtidy_options = '-Wall -Wextra -std=c++20 -x c++'
let g:ale_cpp_clangcheck_options = '-- -Wall -Wextra -std=c++20 -x c++'
Expand All @@ -494,8 +497,9 @@ let g:ale_glsl_glslang_executable = '/usr/bin/glslangValidator'
let g:ale_fixers = {
\ 'json': ['prettier'],
\ 'python': ['isort', 'autopep8'],
\ 'elm': ['elm-format']
\ 'elm': ['elm-format'],
\}
" totally possible, but needs configuation: 'cpp': ['clang-format']

" Using `prettier' as a fixer can be annoying, e.g. when writing jsx. If
" that is the case, just toggle running fixers on save with <leader>j.
Expand Down

0 comments on commit 24e9ecd

Please sign in to comment.