mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nvim: refactor cmds into commands
This commit is contained in:
parent
1bdcd3386e
commit
7ae86384f6
14 changed files with 89 additions and 147 deletions
1
.config/nvim/ftplugin/gitcommit.lua
Normal file
1
.config/nvim/ftplugin/gitcommit.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
vim.bo.textwidth = 72
|
||||
1
.config/nvim/ftplugin/go.lua
Normal file
1
.config/nvim/ftplugin/go.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
vim.o.expandtab = false
|
||||
2
.config/nvim/ftplugin/haskell.lua
Normal file
2
.config/nvim/ftplugin/haskell.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
local opts = require("opts")
|
||||
opts.matchit_let_in()
|
||||
6
.config/nvim/ftplugin/ledger.lua
Normal file
6
.config/nvim/ftplugin/ledger.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- TODO: remove this when PR is merged
|
||||
vim.bo.commentstring = "; %s"
|
||||
|
||||
vim.bo.varsofttabstop = "4,30,8,4"
|
||||
vim.o.spell = true
|
||||
vim.bo.spelllang = "fr"
|
||||
4
.config/nvim/ftplugin/markdown.lua
Normal file
4
.config/nvim/ftplugin/markdown.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
vim.o.shiftwidth = 2
|
||||
vim.o.tabstop = 2
|
||||
vim.o.textwidth = 100
|
||||
vim.o.colorcolumn = "100"
|
||||
2
.config/nvim/ftplugin/nix.lua
Normal file
2
.config/nvim/ftplugin/nix.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
local opts = require("opts")
|
||||
opts.matchit_let_in()
|
||||
2
.config/nvim/ftplugin/ocaml.lua
Normal file
2
.config/nvim/ftplugin/ocaml.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
local opts = require("opts")
|
||||
opts.matchit_let_in()
|
||||
4
.config/nvim/ftplugin/typst.lua
Normal file
4
.config/nvim/ftplugin/typst.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
vim.o.shiftwidth = 2
|
||||
vim.o.tabstop = 2
|
||||
vim.o.textwidth = 100
|
||||
vim.o.colorcolumn = "100"
|
||||
Loading…
Add table
Add a link
Reference in a new issue