Add options.lua
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
-- Options are automatically loaded before lazy.nvim startup
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
vim.opt.relativenumber = false
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.softtabstop = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.lsp.config("ty", {
|
||||
settings = {
|
||||
ty = {
|
||||
-- ty language server settings go here
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- Required: Enable the language server
|
||||
vim.lsp.enable("ty")
|
||||
Reference in New Issue
Block a user