1
0
Fork 0

Compare commits

...

4 Commits

4 changed files with 12 additions and 32 deletions

View File

@ -27,34 +27,18 @@ vim.lsp.config("lua_ls", {
}
})
--vim.lsp.enable("clangd")
vim.lsp.enable("clangd")
vim.lsp.enable("rust_analyzer")
vim.lsp.config("rust_analyzer", {
cmd = { "~/.local/share/nvim/mason/bin/rust-analyzer" },
})
vim.lsp.enable("pyright")
vim.lsp.config("pyright", {
cmd = { "~/.local/share/nvim/mason/bin/pyright-langserver", "--stdio" },
})
vim.lsp.enable("html")
vim.lsp.config("html", {
cmd = { "~/.local/share/nvim/mason/packages/html-lsp/node_modules/.bin/vscode-html-language-server", "--stdio" },
})
--vim.lsp.enable("angularls")
--vim.lsp.config("angularls", {
-- cmd = { "ngserver", "--stdio", "--tsProbeLocations", "../..,?/node_modules", "--ngProbeLocations", "../../@angular/language-server/node_modules,?/node_modules/@angular/language-server/node_modules", "--angularCoreVersion", "" },
--})
vim.lsp.enable("vtsls")
vim.lsp.enable("ts_ls")
vim.lsp.config("ts_ls", {
cmd = { "~/.local/share/nvim/mason/packages/typescript-language-server/node_modules/typescript-language-server/lib/cli.mjs", "--stdio" },
})
vim.lsp.enable("svelte")
vim.lsp.enable("tailwindcss")
vim.lsp.enable("jdtls")
vim.lsp.config("jdtls", {
cmd = { vim.fn.expand("~/.local/share/nvim/mason/bin/jdtls") },
})

View File

@ -1,9 +1 @@
require 'nvim-treesitter.configs'.setup {
-- Automatically install missing parsers when entering buffer
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
auto_install = true,
highlight = {
enable = true,
},
}
require("nvim-treesitter").setup()

View File

@ -1,6 +1,6 @@
require("truss.lazy")
require("truss.remap")
require("truss.set")
require("truss.lazy")
local augroup = vim.api.nvim_create_augroup
local autocmd = vim.api.nvim_create_autocmd

View File

@ -25,7 +25,7 @@ vim.g.maplocalleader = "\\"
require("lazy").setup({
spec = {
{ -- Syntax Highlighter
'nvim-treesitter/nvim-treesitter', branch = 'master',
'nvim-treesitter/nvim-treesitter', branch = 'main',
lazy = false, build = ":TSUpdate"
},
{ -- Packager Manager (LSPs)
@ -72,6 +72,10 @@ require("lazy").setup({
{ -- Git utility
'tpope/vim-fugitive'
},
{ -- Hex colors
'norcalli/nvim-colorizer.lua',
config=true
},
{ -- Keybind helper
'folke/which-key.nvim',
keys = {