Compare commits
8 commits
45444ef947
...
4b56685efc
Author | SHA1 | Date | |
---|---|---|---|
4b56685efc | |||
8c6bb614bf | |||
a124b15366 | |||
123281b16c | |||
57b069c17b | |||
e7adf3910e | |||
3ef6aa1974 | |||
8c2ab48ed5 |
7 changed files with 12 additions and 8 deletions
2
init.lua
2
init.lua
|
@ -1,7 +1,7 @@
|
||||||
require("vim-options")
|
require("vim-options")
|
||||||
|
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
vim.fn.system({
|
vim.fn.system({
|
||||||
"git",
|
"git",
|
||||||
"clone",
|
"clone",
|
||||||
|
|
|
@ -10,6 +10,6 @@ return {
|
||||||
theme = "dragon"
|
theme = "dragon"
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.cmd("colorscheme kanagawa")
|
vim.cmd("colorscheme kanagawa-dragon")
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,12 @@ return {
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
|
||||||
config = function()
|
config = function()
|
||||||
local mason_lspconfig = require("mason")
|
local mason_lspconfig = require("mason-lspconfig")
|
||||||
|
|
||||||
mason_lspconfig.setup({
|
mason_lspconfig.setup({
|
||||||
ensure_installed = { "clangd", "texlab", "lua_ls", "matlab_ls", "mesonlsp", "sqlls", "svlangserver", "ts_ls", "volar" }
|
ensure_installed = { "clangd", "lua_ls", "matlab_ls", "mesonlsp", "texlab", "ts_ls", "volar", "zls" }
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ return {
|
||||||
plugins = {
|
plugins = {
|
||||||
{
|
{
|
||||||
name = "@vue/typescript-plugin",
|
name = "@vue/typescript-plugin",
|
||||||
location = vue_language_server_path,
|
location = volar_path,
|
||||||
languages = { "vue" },
|
languages = { "vue" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -29,5 +29,6 @@ return {
|
||||||
filetypes = { "typescript", "javascript", "javascriptreact", "typescriptreact", "vue" },
|
filetypes = { "typescript", "javascript", "javascriptreact", "typescriptreact", "vue" },
|
||||||
})
|
})
|
||||||
lspconfig.volar.setup({})
|
lspconfig.volar.setup({})
|
||||||
|
lspconfig.zig.setup({})
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
3
lua/plugins/zig.lua
Normal file
3
lua/plugins/zig.lua
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
"ziglang/zig.vim"
|
||||||
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
vim.o.background = ""
|
|
||||||
vim.cmd("set number")
|
vim.cmd("set number")
|
||||||
vim.cmd("set expandtab")
|
vim.cmd("set expandtab")
|
||||||
vim.cmd("set tabstop=2")
|
vim.cmd("set tabstop=2")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue