diff options
| author | Thomas Schmucker <ts@its1.de> | 2024-08-31 17:04:59 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2024-08-31 17:04:59 +0200 |
| commit | b7af4151f1d8c357bb04914e17dd2b9c45e7a7e5 (patch) | |
| tree | f45d6054dec5004b32113476125cbad0a370cf76 /nvim/ftplugin | |
| parent | 1c01eac12bad64ff030de911a9d226637b5e4936 (diff) | |
| download | dotfiles-b7af4151f1d8c357bb04914e17dd2b9c45e7a7e5.tar.gz dotfiles-b7af4151f1d8c357bb04914e17dd2b9c45e7a7e5.tar.bz2 dotfiles-b7af4151f1d8c357bb04914e17dd2b9c45e7a7e5.zip | |
neovim: Konfiguration für Typescript hinzugefügt
Diffstat (limited to 'nvim/ftplugin')
| -rw-r--r-- | nvim/ftplugin/typescript.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/ftplugin/typescript.vim b/nvim/ftplugin/typescript.vim new file mode 100644 index 0000000..5f56854 --- /dev/null +++ b/nvim/ftplugin/typescript.vim | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | setlocal tabstop=2 | ||
| 2 | setlocal softtabstop=2 | ||
| 3 | setlocal shiftwidth=2 | ||
| 4 | setlocal smarttab | ||
| 5 | setlocal expandtab | ||
| 6 | setlocal autoindent | ||
| 7 | |||
| 8 | setlocal foldenable | ||
| 9 | setlocal foldmethod=expr | ||
| 10 | setlocal foldexpr=nvim_treesitter#foldexpr() | ||
| 11 | |||
