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")
|
||||
|
||||
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({
|
||||
"git",
|
||||
"clone",
|
||||
|
|
|
@ -10,6 +10,6 @@ return {
|
|||
theme = "dragon"
|
||||
})
|
||||
|
||||
vim.cmd("colorscheme kanagawa")
|
||||
vim.cmd("colorscheme kanagawa-dragon")
|
||||
end
|
||||
}
|
||||
|
|
|
@ -8,13 +8,14 @@ return {
|
|||
},
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
|
||||
|
||||
config = function()
|
||||
local mason_lspconfig = require("mason")
|
||||
local mason_lspconfig = require("mason-lspconfig")
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ return {
|
|||
plugins = {
|
||||
{
|
||||
name = "@vue/typescript-plugin",
|
||||
location = vue_language_server_path,
|
||||
location = volar_path,
|
||||
languages = { "vue" },
|
||||
},
|
||||
},
|
||||
|
@ -29,5 +29,6 @@ return {
|
|||
filetypes = { "typescript", "javascript", "javascriptreact", "typescriptreact", "vue" },
|
||||
})
|
||||
lspconfig.volar.setup({})
|
||||
lspconfig.zig.setup({})
|
||||
end
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ return {
|
|||
require("telescope").setup({})
|
||||
|
||||
local builtin = require("telescope.builtin")
|
||||
|
||||
|
||||
vim.keymap.set("n", "<C-p>", builtin.find_files, {})
|
||||
vim.keymap.set("n", "<C-f>", builtin.live_grep, {})
|
||||
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 expandtab")
|
||||
vim.cmd("set tabstop=2")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue