Browse Source

removed lua

imac
Juni Kim 2 years ago
parent
commit
79863d10af
  1. 7
      after/plugin/lsp.lua
  2. 6
      lua/junikim/options.lua

7
after/plugin/lsp.lua

@ -21,13 +21,6 @@ local servers = {
'jsonls' 'jsonls'
} }
local platform = require("mason-core.platform");
if not (platform.is.linux_x64_musl or
platform.is.linux_arm64_musl)
then
table.insert(servers, "sumneko_lua");
end
lsp.ensure_installed(servers) lsp.ensure_installed(servers)
lsp.configure("tsserver", { lsp.configure("tsserver", {

6
lua/junikim/options.lua

@ -59,9 +59,9 @@ vim.api.nvim_create_autocmd("FileType", {
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
pattern = "markdown", pattern = "markdown",
callback = function(args) callback = function(args)
vim.bo.shiftwidth = 4
vim.bo.tabstop = 4
vim.bo.softtabstop = 4
vim.bo.shiftwidth = 2
vim.bo.tabstop = 2
vim.bo.softtabstop = 2
vim.bo.autoindent = true vim.bo.autoindent = true
end end
}) })

Loading…
Cancel
Save