This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
feat: add dart comment string autocmd
master
Tovi Jaeschke-Rogers
5 months ago
parent
6c16efb374
commit
50a0d3d2e9
1 changed files
with
6 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
.config/nvim/lua/tovi/core/autocmd.lua
+ 6
- 0
.config/nvim/lua/tovi/core/autocmd.lua
View File
@ -9,6 +9,12 @@ local aucmd_dict = {
vim.opt_local
.
shiftwidth
=
2
vim.opt_local
.
shiftwidth
=
2
end
,
end
,
}
,
}
,
{
pattern
=
'
dart
'
,
callback
=
function
(
)
vim.bo
.
commentstring
=
'
// %s
'
end
}
,
}
,
}
,
BufWritePre
=
{
BufWritePre
=
{
Write
Preview
Loading…
Cancel
Save