Skip to content

Commit

Permalink
update with python
Browse files Browse the repository at this point in the history
  • Loading branch information
cdayjr committed Jun 26, 2023
1 parent 1a7db61 commit 4765d69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ indent_size = 4
indent_style = space
tab_width = 4

# autopep8 uses 4 space indentation
[*.py]
indent_size = 4
indent_style = space
tab_width = 4

# Rust style is 4 spaces
[*.rs]
indent_size = 4
Expand Down
11 changes: 6 additions & 5 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,16 @@ let g:ale_linters = {
\}
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'javascript': ['eslint', 'prettier'],
\ 'typescript': ['eslint', 'prettier'],
\ 'html': ['prettier'],
\ 'scss': ['prettier'],
\ 'css': ['prettier'],
\ 'yaml': ['prettier'],
\ 'html': ['prettier'],
\ 'javascript': ['eslint', 'prettier'],
\ 'json': ['prettier'],
\ 'markdown': ['prettier'],
\ 'php': ['php_cs_fixer', 'phpcbf'],
\ 'python': ['autopep8'],
\ 'scss': ['prettier'],
\ 'typescript': ['eslint', 'prettier'],
\ 'yaml': ['prettier'],
\}
let g:ale_completion_autoimport = 1
let g:ale_completion_enabled = 1
Expand Down

0 comments on commit 4765d69

Please sign in to comment.