mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-30 15:34:39 +02:00
enc: update config which-key
This commit is contained in:
parent
a2240b582c
commit
38a9984694
22 changed files with 103 additions and 945 deletions
|
@ -1,51 +0,0 @@
|
|||
-- local lspconfig_status_ok, lspconfig = pcall(require, "lspconfig")
|
||||
-- if not lspconfig_status_ok then
|
||||
-- return
|
||||
-- end
|
||||
--
|
||||
-- local status_ok, configs = pcall(require, "nvim-treesitter.configs")
|
||||
-- if not status_ok then
|
||||
-- return
|
||||
-- end
|
||||
--
|
||||
-- local mason_ok, mason_lsp = pcall(require, "mason-lspconfig")
|
||||
-- if not mason_ok then
|
||||
-- return
|
||||
-- end
|
||||
--
|
||||
-- mason_lsp.setup({
|
||||
-- ensure_installed = { "clangd" },
|
||||
-- automatic_installation = true,
|
||||
-- })
|
||||
--
|
||||
-- lspconfig.clangd.setup({
|
||||
-- on_attach = require("user.lsp.handlers").on_attach,
|
||||
-- capabilities = require("user.lsp.handlers").capabilities,
|
||||
-- root_dir = require("lspconfig.util").root_pattern(
|
||||
-- "build",
|
||||
-- "compile_commands.json",
|
||||
-- ".git",
|
||||
-- "mvnw",
|
||||
-- "gradlew",
|
||||
-- "pom.xml",
|
||||
-- "build.gradle"
|
||||
-- ) or vim.loop.cwd() or vim.fn.getcwd(),
|
||||
-- })
|
||||
--
|
||||
-- configs.setup({
|
||||
-- ensure_installed = { "cpp" }, -- pastikan parser TypeScript terinstal
|
||||
-- highlight = {
|
||||
-- enable = true, -- aktifkan highlight berbasis treesitter
|
||||
-- additional_vim_regex_highlighting = false,
|
||||
-- },
|
||||
-- rainbow = {
|
||||
-- enable = false,
|
||||
-- },
|
||||
-- incremental_selection = { enable = true },
|
||||
-- indent = { enable = true, disable = { "python", "css" } },
|
||||
-- autopairs = {
|
||||
-- enable = true,
|
||||
-- },
|
||||
-- })
|
||||
--
|
||||
-- require("nvim-ts-autotag").setup()
|
|
@ -1,7 +0,0 @@
|
|||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
local opt = vim.opt
|
||||
|
||||
opt.shiftwidth = 2 -- Size of an indent
|
||||
opt.tabstop = 2 -- Size of an indent
|
|
@ -1,4 +0,0 @@
|
|||
vim.opt_local.expandtab = true
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.softtabstop = 2
|
|
@ -1,4 +0,0 @@
|
|||
vim.opt_local.expandtab = true
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.softtabstop = 2
|
Loading…
Add table
Add a link
Reference in a new issue