Init
This commit is contained in:
2
config/nvim/after/ftplugin/goon.lua
Normal file
2
config/nvim/after/ftplugin/goon.lua
Normal file
@@ -0,0 +1,2 @@
|
||||
vim.bo.commentstring = "// %s"
|
||||
vim.bo.comments = "s:/*,m: *,ex:*/,://"
|
||||
12
config/nvim/after/ftplugin/hare.lua
Normal file
12
config/nvim/after/ftplugin/hare.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
local set = vim.opt_local
|
||||
|
||||
vim.bo.commentstring = "// %s"
|
||||
vim.bo.comments = "s:/*,m: *,ex:*/,://"
|
||||
|
||||
set.shiftwidth = 4
|
||||
set.tabstop = 4
|
||||
set.softtabstop = 4
|
||||
set.expandtab = true
|
||||
|
||||
set.number = true
|
||||
set.relativenumber = true
|
||||
9
config/nvim/after/ftplugin/jsonc.lua
Normal file
9
config/nvim/after/ftplugin/jsonc.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
local set = vim.opt_local
|
||||
|
||||
set.shiftwidth = 2
|
||||
set.tabstop = 2
|
||||
set.softtabstop = 2
|
||||
set.expandtab = true
|
||||
|
||||
set.number = true
|
||||
set.relativenumber = true
|
||||
8
config/nvim/after/ftplugin/man.lua
Normal file
8
config/nvim/after/ftplugin/man.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local set = vim.opt_local
|
||||
set.number = true
|
||||
set.relativenumber = true
|
||||
set.number = true
|
||||
set.relativenumber = false
|
||||
set.wrap = true
|
||||
set.linebreak = true
|
||||
set.conceallevel = 0
|
||||
8
config/nvim/after/ftplugin/nix.lua
Normal file
8
config/nvim/after/ftplugin/nix.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local set = vim.opt_local
|
||||
|
||||
set.shiftwidth = 2
|
||||
set.tabstop = 2
|
||||
set.softtabstop = 2
|
||||
set.expandtab = true
|
||||
set.number = true
|
||||
set.relativenumber = true
|
||||
Reference in New Issue
Block a user